Skip to content

Instantly share code, notes, and snippets.

@gauravpaliwal
Created August 3, 2011 01:01
Embed
What would you like to do?
gs -sOutputFile=<name_of_output_file> -sDEVICE=pdfwrite \
-sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray \
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH <name_of_file_to_convert> < /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment