Friday, January 28, 2011

Fixing a Screwed Up Full Duplex scan

I scanned a two sided document and every other page came in upside down.  Thanks to pdftk, I fixed this in short order.

I ran
pdftk A=messedup.pdf shuffle A1-11odd A1-11evenS output fixed.pdf
which means
  1. use A as shorthand for messedup.pdf
  2. shuffle the following pages:
    1. the odd pages in A
    2. the even pages in A, but rotated so that South is Up (flipped)
  3. Write it out as fixed.pdf
Easy peasy.  Great tool.

No comments: