New answers tagged ghostscript
RHEL6 and RHEL5, which both baseline Ghostscript on 8.70, couldn't use the forms of the command given above. Assuming a script or a function expecting the PDF file as the first argument "$1", the following should be more portable: gs \ -sOutputFile="grey_$1" \ -sDEVICE=pdfwrite \ -sColorConversionStrategy=Mono \ ...
One solution that usually works is to use pdfjam from the texlive distribution > pdfinfo in.pdf ... Producer: Acrobat Distiller 6.0.1 (Windows) ... Page size: 612 x 792 pts (letter) Page rot: 0 File size: 66676 bytes Optimized: yes PDF version: 1.4 > pdfjam --outfile out.pdf --paper a4paper in.pdf > pdfinfo out.pdf ...
pdfseparate pdf-sample.pdf sample-%d.pdf
Top 50 recent answers are included