How yo reduce PDF file size on a Unix system with GhostScript
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -sOutputFile=output.pdf input.pdf
The following parameters for -dPDFSETTINGS
can be edited with:
/screen
– Lowest quality, lowest size/ebook
– Moderate quality/printer
– Good quality/prepress
– Best quality, highest size