This topic is not current. For the most current information, see the Print Schema Specification.
Defines the page resolution of printed output as either a qualitative value or as dots per inch, or both.
Element Information
| Name | Value |
|---|---|
| Element Type | Feature |
| Scoping Prefix | Page |
| Notes | None |
Structural Content
The XML structure of this element is:
<psf:Feature name="psk:PageResolution">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<psf:Option>
<psf:Property name="psf:IdentityOption">
<psf:Value xsi:type="xs:string">_IdentityOptionValue_</psf:Value>
</psf:Property>
<psf:ScoredProperty name="psk:ResolutionX">
<psf:Value xsi:type="xs:integer">_ResolutionXValue_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:ResolutionY">
<psf:Value xsi:type="xs:integer">_ResolutionYValue_</psf:Value>
</psf:ScoredProperty>
<psf:ScoredProperty name="psk:QualitativeResolution">
<psf:Value xsi:type="xs:string">_QualitativeResolutionValue_</psf:Value>
</psf:ScoredProperty>
</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. |
| _ResolutionXValue_ | integer | DPI | Greater than 0. | Specifies the x component of the resolution relative to the PageImageableSize in DPI (relative to the PageMediaSize and feed direction of the media). |
| _ResolutionYValue_ | integer | DPI | Greater than 0. | Specifies the y component of the resolution relative to the PageImageableSize in DPI (relative to the PageMediaSize and feed direction of the media). |
| _QualitativeResolutionValue_ | string | n/a | Default, Draft, High, Normal, Other. | Specifies a quality label for the resolution. |
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:PageResolution">
<psf:Property name="psf:SelectionType">
<psf:Value xsi:type="xs:string">psk:PickOne</psf:Value>
</psf:Property>
<psf:Option>
<!-- The horizontal resolution in dots per inch -->
<psf:ScoredProperty name="psk:ResolutionX">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
<!-- The vertical resolution in dots per inch -->
<psf:ScoredProperty name="psk:ResolutionY">
<psf:Value xsi:type="xs:integer">_Undefined_</psf:Value>
</psf:ScoredProperty>
<!-- Value representing the resolution -->
<psf:ScoredProperty name="psk:QualitativeResolution">
<psf:Value xsi:type="xs:string">Other</psf:Value>
</psf:ScoredProperty>
</psf:Option>
</psf:Feature>
Related topics
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
