<doc>
  <legacy_id>3088</legacy_id>
  <name>printPaperOrientation</name>
  <type>property</type>
  <syntax>
    <example>set the printPaperOrientation to {"portrait" | "landscape" | "reverse portrait" | "reverse landscape"}</example>
    <example>get the printPaperOrientation</example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Printer</category>
  </classification>
  <references>
    <command tag="answer printer">answer printer Command</command>
    <property tag="printRowsFirst">printRowsFirst Property</property>
  </references>
  <history>
    <introduced version="2.9">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
    <printing/>
  </security>
  <summary>Reports the rotation of a printed page.</summary>
  <examples>
    <example>set the printPaperOrientation to "portrait"</example>
  </examples>
  <description>
    <p>Use the <b>printPaperOrientation</b> to rotate the printed output to the desired orientation on the page.</p><p/><p><b>Value:</b></p><p>The <b>printPaperOrientation</b> is one of the following values.</p><p>  - portrait: rotated 0 degrees.</p><p>  - landscape: rotated 90 degrees clockwise.</p><p>  - reverse portrait: rotated 180 degrees clockwise.</p><p>  - reverse landscape: 270 degrees clockwise.</p><p/><p>The default value is determined by the default settings of the current printer.</p><p/><p><b>Comments:</b></p><p>Attempting to set the <b>printPaperOrientation</b> to an invalid value will result in a script execution error.</p><p/><p>To have an effect, this property must be set before calling <command tag="open printing">open printing</command>.</p><p/><p><img src="202652"/> <b>Cross-platform note:</b> The reverse options are not supported on Windows.  When used Windows will revert these options to their non-reverse counterparts.</p>
  </description>
</doc>