Hi,

I am looking at converting a colored pdf to black and white using gs.  I
have all the proper command to do the conversion however it look like when
it I convert the ps file back to pdf, it doesn't like the landscape
formating.

Here's the set of commands I use

Convert from colored pdf to bw
gs -sDEVICE=psmono -dNOPAUSE -dBATCH -dSAFER -sOutputFile=my-bw.psmy-color.pdf

To convert ps file back pdf I use something similar to this
gs -dBATCH -dNOPAUSE -sOutputFile=my-bw.pdf -sDEVICE=pdfwrite
-dAutoRotatePages=/None -c "<< /PageSize [792 612] /Orientation 3 >>
setpagedevice" 90 rotate 0 -612 translate -f my-bw.ps

The original colored pdf files could varie from 1 to 20 pages. All pages are
in landscape format. When I open the ps file in gv all test and paper
orientation look great.

Anyone has suggestions


-- 
                         !!!!!
                       ( o o )
 --------------oOO----(_)----OOo--------------
Luc Paulin  |  paulinster(at)gmail.com
_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca

Reply via email to