Two Passes, One Document: Collating a Flipped Scan with pdftk
Scanning a double-sided document on a simplex scanner leaves you with two PDFs: the fronts in order, the backs in reverse. Interleaving them is one pdftk command with a backwards page range, and that part has never been the difficult bit. This piece works through the page-index arithmetic, a ten-minute test that proves the merge … Read more