title: Page cropped and rotated incorrectly when printing with Ghostscript
body: <p>I have been trying to print a one-page pdf file from command line (hostscript version 9.22), or .NET console app using <a href="https://archive.codeplex.com/?p=ghostscriptnet" rel="nofollow noreferrer">ghostscript.net</a> (version 1.2.1). The file (PDF version 1.7 - Acrobat 8.x) is A3 size and I want to print it on an A4. It looks like this:<a href="https://i.stack.imgur.com/HxJix.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HxJix.jpg" alt="ORIGINAL" /></a>
  The switches I am using</p>
  <blockquote>
  <p>-empty -dPrinted -dBATCH -dNOPAUSE -dNOSAFER -dNumCopies=1 -sDEVICE=mswinpr2 -sOutputFile=%printer%MSPrintToPDF -f d:\test.pdf</p>
  </blockquote>
  <p>(different pdf (primopdf, dopdf8, microsoft pdf printer) and real printers)</p>
  <p>Switches, different combinations of which, I have tried:</p>
  <blockquote>
  <p>-sPaperSize=a4
  -g2490x1000 -dFIXEDMEDIA -dFIXEDRESOLUTION
  -r300
  -dAutoRotatePages
  -dfitpage
  -dPDFFitPage
  -dEPSFitPage
  -dDEVICEWIDTHPOINTS=3500 -dDEVICEHEIGHTPOINTS=2000
  -dORIENT1=false
  -dORIENT1=true</p>
  </blockquote>
  <p>Without this:</p>
  <blockquote>
  <p>-dDEVICEWIDTHPOINTS=3500 -dDEVICEHEIGHTPOINTS=2000</p>
  </blockquote>
  <p>the result is cropped and not rotated correctly:</p>
  <p><a href="https://i.stack.imgur.com/ArssC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ArssC.jpg" alt="enter image description here" /></a></p>
  <p>Otherwise the result is landscape, though still cropped:
  <a href="https://i.stack.imgur.com/LEj5t.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LEj5t.jpg" alt="enter image description here" /></a></p>
  <p>How can print A3 size PDF on an A4 fitting the page?</p>
  <p>Thank you</p>