1

I have two single-page PDFs, and want to merge them into a single two-pages PDF. So I ran:

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf 1.pdf 2.pdf

Problem: The result has each page's content rotated 90 degrees clockwise.

enter image description here

The illustration above shows the problem. I want the two pages to stay in portrait. How to do?

0

Add -dAutoRotatePages=/None to your gs command.

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.