title: Ghostscript changed Orientation from landscape to portrait
body: <p>I have a PDF file that I need to change the orientation from landscape to portrait, using this command GS. The Orientation switch it is not changing the orientation. Is there a extra setting I need to add?</p>
  
  <pre><code>::Path to your Ghostscript EXE
  set GSC="C:\Program Files (x86)\gs\gs9.16\bin\gswin32.exe"
  
  %GSC% -sDEVICE=pdfwrite -sOutputFile="D:\TRANS\PDF\2_ZNOR_00000000000000000070.pdf" -dNOPAUSE -dEPSCrop -c "&lt;&lt;/Orientation 3&gt;&gt; setpagedevice" -f "D:\TRANS\PDF\1_ZNOR_00000000000000000070.pdf"
  </code></pre>