PDFs and Linux

Rading physical pages beats screen based reading. At least for me. Newly bought roleplay assets in PDF form are printed, read and filed. Do reduce ink and page consumption, I usually remove colored backgrounds and print two pages on one A4 sheet. This post collect all the tools that I use to archive my pdf tasks.

Ressources

One liners

remove all images with gs: gs -o noimage.pdf -sDEVICE=pdfwrite -dFILTERIMAGE input.pdf

#pdfunite {185..192}-oracles.pdf tmp.unite.pdf ; gs -o tmp.gs.pdf -sDEVICE=pdfwrite -dFILTERIMAGE tmp.unite.pdf; pdfcrop --margin '0 0 0 0' tmp.gs.pdf tmp.crop.pdf
#pdfunite {185..192}-oracles.pdf tmp.unite.pdf ; gs -o tmp.noimages.pdf -sDEVICE=pdfwrite -dFILTERIMAGE tmp.unite.pdf; pdfcrop --margin '0 0 0 -10' tmp.noimages.pdf tmp.crop.pdf; pdfcrop --margin '0 20 0 20' tmp.crop.pdf tmp.raw.pdf; pdfjam --a4paper -o tmp.a4.pdf tmp.raw.pdf;