3.5.1 Indexes for DeviceCapabilities Function

Printer drivers must process requests from applications for new DeviceCapabilities indexes. A driver's DeviceCapabilities function must check for and process the following values.

Value Meaning

DC_ENUMRESOLUTIONS (13) Retrieves a list of resolutions supported by the printer model.
DC_FILEDEPENDENCIES (14) Retrieves a list of filenames which also need to be installed when the driver is installed.
DC_TRUETYPE (15) Retrieves the driver's capabilities with regard to printing TrueType fonts.
DC_PAPERNAMES (16) Enumerates the actual string describing the names of the papers.
DC_ORIENTATION (17) Retrieves the relationship between Portrait and Landscape orientations in terms of the number of degrees that portrait orientation is to be rotated counterclockwise to achieve landscape orientation.
DC_COPIES (18) Retrieves the maximum number of copies the device can print.

The implementation of one or all of the indexes is optional. If a driver does not implement a given index, the DeviceCapabilities function should return -1. For more information about the new indexes, see the DeviceCapabilities function in the Microsoft Windows Device Driver Adaptation Guide.