0

I am using Ghostscript version 9.54 to convert pdf files to pdf/a format. There are some pages in the pdf file that are oriented landscape and they are converted to portrait in the output file. Is there a switch in the Ghostscript that preserves the orientation ?

There are several posts talking about -dAutoRotatePages=/None but it did not work.

string[] args = {
    "-dAutoRotatePages=/None"
    "-dPDFA=2",
    "-dBATCH",
    "-dNOPAUSE",
    "-sColorConversionStrategy=UseDeviceIndependentColor",
    "-sDEVICE=pdfwrite",
    "-dPDFACompatibilityPolicy=1",
    $"-sOutputFile={outfile}",
    infile,
1
  • Your comment indicates "We cannot ignore this request, reverting to normal output." Does this mean the orientation will always be maintained according to the direction of the text in the file? Thank you! Commented Jan 27 at 14:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.