just a logo :)



Compress PDF Files
Entry Nr. 85, by user 1
Currently, the best way we found is to:

1) Print the PDF to a PS file via Acrobat Reader on Windows

We use a printer driver called "HP Color LaserJet 5/5M PS". Make sure to set this option in the advanced tab of the Acrobat Reader print dialog: Language = Level 3

(You can probably automate this via "AcroRd32.exe /p /h file.pdf" - not tried yet)

2) Convert the PS to PDF via GS with this 'line': (we use GS AFPL 8.5.4 on windows):

gswin32c.exe -q -dNOPAUSE -sDEVICE=pdfwrite -dCompatibilityLevel=1.1 -dPDFSETTINGS=/screen -dCompressPages=true -dUseFlateCompression=true -dEmbedAllFonts=true -dSubsetFonts=true -dConvertCMYKImagesToRGB=false -dAutoFilterColorImages=true -dColorImageFilter=/DCTEncode -dEncodeColorImages=true -dColorImageResolution=150 -dColorImageDownsampleThreshold=1.5 -dColorImageDownsampleType=/Bicubic -dAutoFilterGrayImages=true -dGrayImageFilter=/DCTEncode -dEncodeGrayImages=true -dDownsampleGrayImages=true -dGrayImageDownsampleThreshold=1.5 -dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=150 -dMonoImageFilter=/CCITTFaxEncode -dEncodeMonoImages=true -dDownsampleMonoImages=true -dMonoImageDownsampleThreshold=1.5 -dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=300 -sOutputFile="%CD%\%1.pdf" -dUseCIEColor -c .setpdfwrite -f "%CD%\%1" -c quit
Compress multimple PDF files
This command for Linux