## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### PRTDEVCHAR Field - colorlevels

colorlevels (USHORT) Number of color or monochrome levels supported.

For monochrome printers, this field contains the number of distinct gray- scale levels supported at the printer's maximum resolution, not including white or unmarked. For example, a black/white printer with no gray-scale capability should report 0001 in this field.

For spot-color printers, this field contains the number of spot colors supported, not including white or unmarked. For example, a black/white/red printer should report 0002 in this field.

For 3-primary and 4-primary color printers, this field contains the maximum number of distinct levels, not including white or unmarked, of any one primary color at the printer's maximum resolution. Note that the number of distinct colors achievable by combining primaries may be significantly less than the product of the number of levels in each primary.