PSFEATURE_CUSTPAPER structure
The PSFEATURE_CUSTPAPER structure contains information about a custom paper size for a PostScript driver. This structure is used with the GET_PS_FEATURESETTING printer escape function.
Syntax
typedef struct _PSFEATURE_CUSTPAPER { LONG lOrientation; LONG lWidth; LONG lHeight; LONG lWidthOffset; LONG lHeightOffset; } PSFEATURE_CUSTPAPER, *PPSFEATURE_CUSTPAPER;
Members
- lOrientation
-
Indicates the custom paper orientation. This member can be 0 to 3 if custom page size is selected. Otherwise, it is 1 and all other structure members are zero
- lWidth
-
Custom page width, in points.
- lHeight
-
Custom page height, in points.
- lWidthOffset
-
Custom page width offset, in points.
- lHeightOffset
-
Custom page height offset, in points.
Remarks
For the semantics of the lOrientation, lWidth, lHeight, lWidthOffset, and lHeightOffset members, please refer to "Custom Page Size Parameters" in "PostScript Printer Description File Format Specification" v.4.3.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also