Difference between revisions of "PDF Tools"
From RobolaboWiki
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<!--__NOTOC__--> | <!--__NOTOC__--> | ||
| + | |||
| + | <h1> Reduce PDFs size</h1> | ||
| + | <pre> | ||
| + | gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf | ||
| + | </pre> | ||
<h1> Merge PDFs </h1> | <h1> Merge PDFs </h1> | ||
| Line 10: | Line 15: | ||
<pre> | <pre> | ||
| − | pdfnup INPUT_FILE.pdf --nup 1x1 -- | + | pdfnup INPUT_FILE.pdf '1-21' --nup 1x1 --no-landscape --outfile OUTPUT_FILE.pdf |
</pre> | </pre> | ||
| + | |||
| + | <h1> PDF Printer </h1> | ||
| + | |||
| + | Install cups-pdf | ||
| + | <pre> | ||
| + | apt-get install cups-pdf | ||
| + | </pre> | ||
| + | |||
| + | Go to System -> Administration -> Printing and then Printer ->Add Printer. | ||
| + | |||
| + | |||
| + | Select Local Printer -> PDF Printer | ||
| + | |||
| + | |||
| + | Model PostScript | ||
| + | |||
| + | [[media:vimrc.txt | vimrc ]] | ||
Latest revision as of 14:28, 7 December 2016
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