2
votes

I have a .ps document with 2 pages. The first page is portrait mode and the second is a landscape mode.

I use ghostscript 9.18 : gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=./test.pdf test.ps

My PDF have a correct first page to portrait mode and my second page is also in portrait mode but it is cut, I lose content !!!!

How to make my second page stay in landscape mode?

Thanks

EDIT : I did the test with a single page in my .ps file in landscape mode and I have the same problem, the page is cut off. Accuracy, my .ps file does not contain text, it's an image

1

1 Answers

0
votes

Without seeing your input file its impossible to tell for certain, but if you read the Ghostscript documentation in VectorDevices.htm you will find the AutoRotatePages switch, you probably want to change that.

If that doesn't help then you're going to have to share the file.

Other than that, you are using an old version of Ghostscript and should upgrade.