CUSTOMSIZEPARAM structure (printoem.h)

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

Syntax

typedef struct _CUSTOMSIZEPARAM {
  LONG dwOrder;
  LONG lMinVal;
  LONG lMaxVal;
} CUSTOMSIZEPARAM, *PCUSTOMSIZEPARAM;

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.

Requirements

Requirement Value
Header printoem.h (include Printoem.h)

See also

EATTRIBUTE_DATATYPE