Added shuffle example

This commit is contained in:
Kenneth John Odle 2021-09-08 18:12:28 -04:00
parent 6fcc6e866c
commit d4805f1587
4 changed files with 15 additions and 0 deletions

View File

@ -44,3 +44,18 @@ Note that you must write to another file, as pdftk cannot overwrite the original
Thus, make the file you save the scan as different than what you want the final file to be named.
See https://sejh.wordpress.com/2014/11/26/changing-pdf-titles-with-pdftk/
========================================================================
To shuffle pages (interleave double-sided originals):
Scan the front sides: 001a.pdf
This gives you pages 1 3 5 7 9
Scan the reverse sides: 001b.pdf
This gives you pages 10 8 6 4 2
$ pdftk A=001a.pdf B=001b.pdf shuffle A1-5 B5-1 output 001.pdf
001.pdf should now be in the order:
1 2 3 4 5 6 7 8 9 10

BIN
shuffle-example/001.pdf Normal file

Binary file not shown.

BIN
shuffle-example/001a.pdf Normal file

Binary file not shown.

BIN
shuffle-example/001b.pdf Normal file

Binary file not shown.