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?

1 Answer 1


Add -dAutoRotatePages=/None to your gs command.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .