2.15 Printer-Control Functions

Printer-control functions retrieve information about a printer and modify its initialization state. The printer driver, rather than GDI itself, provides these functions. The following list briefly describes each printer-control function:

Function Description  
DeviceCapabilities Retrieves capabilities of a printer device driver.  
DeviceMode Sets the current printing modes for a device by prompting the user with a dialog box.  
ExtDeviceMode Retrieves or modifies device initialization infor-mation for a given printer driver or displays a driver-supplied dialog box for configuring the
driver.