CUSTOMSIZEPARAM - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// printoem.h

typedef struct _CUSTOMSIZEPARAM {
  LONG dwOrder;
  LONG lMinVal;
  LONG lMaxVal;
} CUSTOMSIZEPARAM, *PCUSTOMSIZEPARAM;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-printoem-_customsizeparam)

Description

The CUSTOMSIZEPARAM structure holds information pertaining to a single custom page size parameter for a printer.

Members

dwOrder

Specifies 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.

lMinVal

Specifies the minimum value of the custom page size parameter.

lMaxVal

Specifies the maximum value of the custom page size parameter.

Remarks

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.

See also

EATTRIBUTE_DATATYPE