Option Attributes for the Halftone Feature

The following table lists the attributes associated with the Halftone feature. For more information about the Halftone feature, see Standard Features.

Attribute Name Attribute Parameter Comments


Positive numeric value passed to the rendering plug-in's IPrintOemUni::HalftonePattern method as its dwCallbackID parameter.

Required if an IPrintOemUni::HalftonePattern method is provided. See Halftoning with Unidrv.


Numeric value representing the number of halftone patterns provided.

See Halftoning with Unidrv.

Optional. Can be 1 or 3, where 3 implies separate patterns for red, green, and blue, in that order. If not specified, the default value is 1. Can be used with either rcHTPatternID or *HTCallbackID.


Pair of numeric values representing the width and height, in pixels, of the pattern specified by rcHTPatternID.

Required if *rcHTPatternID is specified. The maximum pattern size is PAIR (256, 256). Width and height, multiplied together, must be divisible by 4 for storage as DWORDs.


Resource identifier for an RC_HTPATTERN resource representing halftone pattern data.

Required if a halftone pattern is provided in a resource DLL. See Halftoning with Unidrv.

For examples, see the sample GPD files.

For more information about using these attributes, see Halftoning with Unidrv. These attributes are not used with minidriver-supplied halftoning.