The information in this article applies to:
SUMMARYWindows provides a device-independent platform for application developers. Device independence applies to printing as well. To write code to work with any printer driver, applications must not rely on any special feature in a printer driver. Instead, applications should direct all requests through the Windows Graphical Device Interface (GDI). MORE INFORMATION
There are two major classes of printers: raster printers and PostScript
printers. This article is directed towards application support for raster
printers.
Of the remaining escapes, the following are used frequently:
GETPHYSPAGESIZE, GETPRINTINGOFFSET, PASSTHROUGH, and DRAWPATTERNRECT.
An application should minimize the number of escapes that it uses.
Another area of device independence applies to ExtDeviceMode(). Applications should not allow the user to change printer settings globally. If the user wants to change the printer settings for all applications, the Control Panel utility should be used. It is more appropriate for printer settings to be associated with an application, a document, or a particular set of pages in a document. For more information please see the Knowledge Base article: "Using ExtDeviceMode() to Modify Printer Settings" Additional query words: 3.00 3.10
Keywords : kbWinOS310 kbDSupport kbSDKWin16 |
Last Reviewed: July 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |