concatenating PDFs

I thought I'd already written about this, but can't find it.

It's useful to concatenate PDFs.  

For example, Kraken's incompetent compliance department can only accept a single file for source of wealth.  So dozens of documents have to be rolled up together into a single PDF.  

For another example, when printing a letter with enclosures, it's simpler to keep track of what was sent and enclosed by rolling it all up into one file, rather than having to maintain records of multiple files printed and enclosed together.  It also saves time on the ctrl-P-ing.

Pretty grim interface, but this does seem to work, and qpdf does come with debian:

   $ qpdf --empty --pages 0.pdf 1.pdf 2.pdf -- output.pdf

or to use real life example:

$ qpdf --empty --pages 2023-05-30.letter.sure.my_invoice_for_unauthorized_toilet_emplacement.pdf 2023-05-30.letter.sure.my_invoice_for_unauthorized_toilet_emplacement.bundle/2023-0* -- 2023-05-30.letter.sure.my_invoice_for_unauthorized_toilet_emplacement.combined.pdf

Interface is grim because "empty" when not empty, option that takes multiple values ended by double dash, yuck, should just give same option multiple times, and of course because it's not in a man page on the system: typing "man qpdf" gives no useful info. 

Comments

Popular posts from this blog

the persistent idiocy of "privileged ports" on Unix

google is giving more and more 500 errors

Guernsey Waste in incorrect bag-rejection horror May 6th, 2024