I want to rotate 180 degrees every odd page using pdfjam. I do not want to use pdftk, as in this question. The command seems to be pdf180, but the selection does not seem to take rules like odd/even pages. Also, if I skip pages, the new document does not include them. Thus, the command

pdfjam180 file.pdf 1 3 5 7 9 

produces a file without pages 2, 4, 6, and 8.

Also, I have a large document, so would like to save space when writing this. I cannot see anything useful in pdfjam --help.

How can I achieve this goal?

If a one-line command cannot produce this, I guess I could have a script, which produces $N$ number of rotated files, and then merge them?


If I were in your shoes I'd split the document in as many files as the pages, rotate only odd ones, and merge all the pages together.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.