Posts

Showing posts with the label pdf

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_un...

fitting image to page when printing in gimp

My name's Tom and I work full-time in compliance.  Not as an employment.  But banks and the like just keep giving me never-ending admin tasks, in order to have access to my own property.  I don't see how economic growth could be possible under such a regime, and suspect that it's not, but here we are. One of the tasks of this kind of compliance officer is to print out screenshots, as banks love things on paper and in PDF format, which stands for "print digital format".  On Debian, not knowing better, I use GIMP for this. A reasonable default when printing an image to an A4 sheet might be to set a margin around the sheet, and then fit the image to fit the sheet within this margin, whatever comes first, height or width, subject to orientation of the sheet and aspect ratio of the image.  Without going below some minimum resolution, maybe 100 dpi. GIMP does not do that.  My screenshots, of xterms, were coming out tiny.  I looked up how to change it.  ...