====== PDF manipulation commands and explanations ====== ===== Compress PDF files ===== Compression of batch of PDF files (different levels available):\\ ''$ for i in `find *.pdf`; do gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=pdf/$i $i ; done''\\ \\ Options:\\ -dPDFSETTINGS=/screen — Low quality and small size at 72dpi.\\ -dPDFSETTINGS=/ebook — Slightly better quality but also a larger file size at 150dpi.\\ -dPDFSETTINGS=/prepress — High quality and large size at 300 dpi.\\ -dPDFSETTINGS=/default — System chooses the best output, which can create larger PDF files.\\