21.2.2.134 pageSetup
This element defines the page setup for the chart.
[Example: The following example shows the pageSetup element for ISO A0 paper, printed in black and white, with graphics:
<pageSetup blackAndWhite="true" draft="false" paperHeight="1189mm"
paperWidth="841mm"/>
end example]
Attributes
paperSize (Paper Size)
Specifies the orientation of the paper.
Specifies the paper size according to the following table.
paperHeight (Paper Height)
Height of custom paper as a number followed by a unit identifier. [Example: 297mm, 11in end example]
When paperHeight and paperWidth are specified, paperSize shall be ignored.
The possible values for this attribute are defined by the ST_PositiveUniversalMeasure simple type (22.9.2.12).
orientation (Orientation)
The possible values for this attribute are defined by the ST_PageSetupOrientation simple type (21.2.3.32).
horizontalDpi (Horizontal DPI)
Specifies the horizontal resolution to print in dots per inch.
The possible values for this attribute are defined by the W3C XML Schema int datatype.
firstPageNumber (First Page Number)
Specifies the page number.
The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.
draft (Draft)
Specifies the page shall be printed in draft mode.
The possible values for this attribute are defined by the W3C XML Schema boolean datatype.
copies (Copies)
Specifies the number of copies that shall be printed.
The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.
blackAndWhite (Black and White)
Specifies the page shall print in black and white.
The possible values for this attribute are defined by the W3C XML Schema boolean datatype.
Value
Letter paper
8.5 in.
11 in.
Legal paper
8.5 in.
14 in.
Standard paper
10 in.
11 in.
Standard paper
10 in.
14 in.
Standard paper
11 in.
17 in.
Standard paper
15 in.
11 in.
Standard paper
9 in.
11 in.
Attributes
verticalDpi (Vertical DPI)
Specifies the vertical resolution to print in dots per inch.
The possible values for this attribute are defined by the W3C XML Schema int datatype.
useFirstPageNumb er (Use First Page Number)
Specifies to use the first page number instead of automatically generating a page number.
The possible values for this attribute are defined by the W3C XML Schema boolean datatype.
paperWidth (Paper Width)
Width of custom paper as a number followed by a unit identifier. [Example: 21cm, 8.5in end example]
When paperHeight and paperWidth are specified, paperSize shall be ignored.
The possible values for this attribute are defined by the ST_PositiveUniversalMeasure simple type (22.9.2.12).
[Note: The W3C XML Schema definition of this element’s content model (CT_PageSetup) is located in A.5.1. end note]