// printoem.h
typedef struct _CUSTOMSIZEPARAM {
LONG dwOrder;
LONG lMinVal;
LONG lMaxVal;
} CUSTOMSIZEPARAM, *PCUSTOMSIZEPARAM;
View the official Windows Driver Kit DDI referenceNo description available.
The CUSTOMSIZEPARAM structure holds information pertaining to a single custom page size parameter for a printer.
dwOrderSpecifies the order in which a custom page size parameter is placed on the PostScript interpreter's operand stack. For example, a parameter for which dwOrder is set to 1 is placed on the stack first. A parameter for which dwOrder is set to 2 is placed on the stack second, and so on.
lMinValSpecifies the minimum value of the custom page size parameter.
lMaxValSpecifies the maximum value of the custom page size parameter.
The custom page size parameters include Width, Height, WidthOffset, HeightOffset, and Orientation. For Orientation, lMinVal and lMaxVal are values in the range [0, 3]. For the other custom page size parameters, lMinVal and lMaxVal values are in units of microns.