Querying the Device Capabilities

DevQueryCaps can be used to provide over 40 pieces of information about a specific device-for example, default character box size, horizontal and vertical resolution, or number of device-specific fonts.

Knowing that the device has only 1-bit color support (monochrome) might influence the application to use line style and patterns instead of colors for output.


[Back: Starting a Print Job]
[Next: Formatting the Page]