Created
July 16, 2016 23:06
-
-
Save w-shackleton/3daebdf4d45d8465ee6288858f281ccd to your computer and use it in GitHub Desktop.
Unclutter easyJet e-tickets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First, crop the pages down. | |
pdfcrop --margins '0 -30 0 -500' in.pdf 1.pdf | |
# Rotate all pages | |
pdftk 1.pdf cat 1-endeast output 2.pdf | |
# Finally, 2-up the pages, ignoring the blank pages inserted in the PDF (this PDF had 8 e-tickets) | |
pdfnup 2.pdf 1,3,5,7,9,11,13,15 -o out.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment