Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic is not current. For the most current information, see the Print Schema Specification.
Describes the orientation of the physical media sheet.
| Option | Definition |
|---|---|
| Landscape |
Content is rotated on the page 90??degrees CCW relative to standard (portrait) orientation. |
| Portrait |
Standard Orientation. |
| ReverseLandscape |
Content is rotated on the page 270??degrees CCW relative to standard (portrait) orientation. |
| ReversePortrait |
Content is rotated on the page 180??degrees relative to standard (portrait) orientation. |
Element Information
| Name | Value |
|---|---|
| Element Type |
Feature |
| Scoping Prefix |
Page |
| Notes |
If a Printer Device can only support one landscape direction and this direction is referred to as "Reverse Landscape", then the page orientation will still be considered to be "Landscape". |
Structural Content
The XML structure of this element is:
<psf:Feature name="psk:PageOrientation">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<psf:Option name="psk:_OptionName_">
<psf:Property name="psf:IdentityOption">
<psf:Value xsi:type="xs:string">_IdentityOptionValue_</psf:Value>
</psf:Property>
</psf:Option>
</psf:Feature>
Structure Variables
The following table outlines the characteristics of the variables defined in the XML structure.
| Name | Data type | Unit | Supported values | Summary |
|---|---|---|---|---|
| _OptionName_ |
string |
characters |
Valid fully qualified name as defined by Namespaces in XML. If no namespace is specified, default namespace is assumed. |
The name of the option. |
| _IdentityOptionValue_ |
string |
n/a |
True, False. |
Defines an Option which when selected would disable this feature. |
Extensible Markup Language (XML) Content
The public Print Schema keywords are defined in the https://schemas.microsoft.com/windows/2003/08/printing/printschemakeywords namespace. The public Extensible Markup Language (XML) content for this keyword is defined below:
<psf:Feature name="psk:PageOrientation">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<!-- Content is rotated on the page 90??degrees CCW relative to standard (portrait) orientation.??-->
<psf:Option name="psk:Landscape" />
<!-- Standard Orientation-->
<psf:Option name="psk:Portrait" />
<!-- Content is rotated on the page 270??degrees CCW relative to standard (portrait) orientation??-->
<psf:Option name="psk:ReverseLandscape" />
<!-- Content is rotated on the page 180??degrees relative to standard (portrait) orientation??-->
<psf:Option name="psk:ReversePortrait" />
</psf:Feature>