PDF Tools

From RobolaboWiki
Jump to: navigation, search


Reduce PDFs size

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

Merge PDFs

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=OUTPUT_FILE1.pdf INPUT_FILE1.pdf INPUT_FILE2.pdf

Cut PDFs

pdfnup INPUT_FILE.pdf '1-21' --nup 1x1 --no-landscape --outfile OUTPUT_FILE.pdf

PDF Printer

Install cups-pdf

apt-get install cups-pdf

Go to System -> Administration -> Printing and then Printer ->Add Printer.


Select Local Printer -> PDF Printer


Model PostScript

vimrc