On 2025-10-27, David Wright <[email protected]> wrote: >> > >> > Open the file, go to the wanted page. Select Print, choose print to >> > file, choose file name, select current page only option, press print. >> >> That's a way, but if you're dealing with a compendious volume from which >> you would like to extract page 4, 7, 12, and 438 it can get tedious. In >> fact, I'm uncertain if pdfseparate can do this job; it seems you can only >> select a consecutive series of pages to extract (-f 1 -l 4). I know >> pdftk is capable of it, though. > > Yes, pdktk can make this task extremely simple, as in > > pdftk A=source.pdf cat A4 A7 A12-18even A438 output my-selection.pdf > > (I added the "-18even" to include 14, 16 and 18, as an illustration > of ranges, which can be reversed, and qualifiers, which can include > 90/180° rotations.)
I was unaware of some of this. I was also unaware that pdftk had been ported to Java and is now appearing as the pdftk-java package! > You can also merge pages from multiple source PDFs: I use this each > year in preparing tax stuff: > > pdftk A=qtrly-20250331.pdf B=qtrly-20250630.pdf \ > C=qtrly-20250930.pdf D=qtrly-20251231.pdf \ > cat D1-2 C1-2 B1-2 A1-2 output consolidated-2025.pdf > > Cheers, > David. > > ¹ BTW Bigsy, you received my previous reply because I Cc'd you. > The list's domain had been silently dropping my posts since > some time in late August. > >

