Pdf tools

pdf viewers

Some tools I’ve used in the past and liked

  1. Browsers
    1. firefox usually works great
  2. qpdfview
    1. https://linuxreviews.org/Qpdfview
    2. https://github.com/bendikro/qpdfview

pdf arranger

  1. pdf arranger (to work with pdf documents - joining multiple pdf documents into one)

    In Arch Linux

    paru -S pdfarranger
    

    In Linux Mint, use Software Manager to install pdf arranger

Fedora pdfmod

pdf file modification in fedora : use the pdfmod utility that comes with fedora

Linux - Compressing PDF Documents

Using ghostscript

$ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=out.pdf in.pdf

Note the term -dPDFSETTINGS=/screen in the command. You can actually tweak this option to fiddle with the output PDF’s size. Below is a table of the different -dPDFSETTINGS options and what they do:

-dPDFSETTINGS options What does it do?
——————————————- —————————————————————-
-dPDFSETTINGS=/screen Output files will have up to 72 DPI.
-dPDFSETTINGS=/ebook Output files will have up to 150 DPI.
-dPDFSETTINGS=/prepress Output files will have up to 300 DPI.
-dPDFSETTINGS=/printer Output files will have up to 300 DPI, and ready for printing.
-dPDFSETTINGS=/default (Usually prepress) Depends on which of the above options is assigned as “default.”

Out of the box, /prepress is the default.

Using shrinkpdf

$ shrinkpdf in.pdf > out.pdf

Links to this note