recentpopularlog in

kme : ghostscript   9

A one-line PDF merge command - Mac OS X Hints - http://hints.macworld.com/
Yeah, except 9.whatever doesn't include the 'psmono' device anymore.
To get the list, type gs at the unix prompt. you'll get a GS> prompt, where you type "devicenames ==" (without the quotes).

My list (don't know if it's standard or not) looks like:
[/pcxcmyk /epswrite /bj200 /bitcmyk /lj5mono /tiffg32d /bmpa16m /pgnmraw /bmpsep1 /pcxmono /jpeg /pj /psmono /ljet2p /pkmraw /bmpamono /pbm /pxlmono /bjc600 /pngmono /lj5gray /tiffg4 /bmpa32b /pnm /bmpsep8 /pcxgray /jpeggray /pjxl /psgray /ljet3 /pksm /bmpasep1 /pbmraw /pxlcolor /bjc800 /pnggray /cdeskjet /tifflzw /deskjet /pnmraw /bmp16 /pcx16 /pdfwrite /pjxl300 /psrgb /ljet3d /pksmraw /bmpasep8 /pgm /cljet5 /faxg3 /png16 /cdjcolor /tiffpack /djet500 /ppm /bmp256 /pcx256 /bbox /uniprint /bit /ljet4 /tiffcrle /bmpa16 /pgmraw /cljet5c /bmpmono /faxg32d /png256 /cdjmono /tiff12nc /laserjet /ppmraw /bmp16m /pcx24b /pswrite /bj10e /bitrgb /ljet4d /tiffg3 /bmpa256 /pgnm /nullpage /bmpgray /faxg4 /png16m /cdj550 /tiff24nc /ljetplus /pkm /bmp32b]
mac  osx  ghostscript  solution 
november 2015 by kme
linux - Converting a PDF to black & white with ghostscript - Super User - http://superuser.com/
gs -o <output-file.pdf> -sDEVICE=pdfwrite \
-c "/osetcolor {/setcolor} bind def /setcolor {pop [0 0 0] osetcolor} def" \
-f <input-file.ps>
postscript  ghostscript  maybesolution  resample  conversion  commandline 
november 2015 by kme
ghostscript - How to convert a PDF to grayscale from command line avoiding to be rasterized? - Stack Overflow - http://stackoverflow.com/
gs \
-sDEVICE=pdfwrite \
-sProcessColorModel=DeviceGray \
-sColorConversionStrategy=Gray \
-dOverrideICC \
-o out.pdf \
-f page-27.pdf
ghostscript  pdf  commandline  conversion  solution 
november 2015 by kme
ps2pdf: PostScript-to-PDF converter
-dPDFSETTINGS=configuration
Presets the "distiller parameters" to one of four predefined settings:

/screen selects low-resolution output similar to the Acrobat Distiller "Screen Optimized" setting.
/ebook selects medium-resolution output similar to the Acrobat Distiller "eBook" setting.
/printer selects output similar to the Acrobat Distiller "Print Optimized" setting.
/prepress selects output similar to Acrobat Distiller "Prepress Optimized" setting.
/default selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file.

postscript  pdf  conversion  ghostscript  commandline  reference  essential 
february 2014 by kme
[ubuntu] reduce PDF file resolution
gs -dNOPAUSE -sDEVICE=pdfwrite -r100x100 -q -sOutputFile=output.pdf input.pdf -c quit
solution  ghostscript  pdf  linux  commandline  crunchpdf  optimization  compression 
july 2013 by kme
Re: Using ghostscript to convert postscript to pure black and white.
gswin32c.exe -q -dSAFER -dNOPAUSE -sDEVICE=pdfwrite -dBATCH -sOutputFile=test.pdf -dProcessColorModel=/DeviceGray -sColorConversionStrategy=Gray test.ps
ghostscript  pdf  tipsandtricks  printing 
august 2010 by kme

Copy this bookmark:





to read