INFO: Printer Driver Must Support Multiple DCs (169595)
The information in this article applies to:
- Microsoft Windows 95 Driver Development Kit (DDK)
- Microsoft Windows 98 Driver Development Kit (DDK)
- Microsoft Windows ME Driver Development Kit (DDK)
This article was previously published under Q169595 SUMMARY
In earlier versions of Windows, printer drivers were allowed to return -1
from the SetPrinterDC control code if they did not want to support multiple
DCs for a print job. In Windows 95, Windows 98, or Windows Millennium Edition (Me) however, there are applications that do not check the return code of the SetPrinterDC control code, and blindly use the DC they requested to be set in the printer driver.
MORE INFORMATION
Although not explicitly stated, printer drivers must not return -1 from
SetPrinterDC. Instead, the driver must be able to handle multiple DCs and
must use the DC that the application sends down for the print job. The
driver must not restrict itself to one DC from StartDoc to EndDoc.
Modification Type: | Minor | Last Reviewed: | 5/24/2004 |
---|
Keywords: | kbinfo kbprint KB169595 |
---|
|