The information in this article applies to:
SUMMARY
Printer escapes are used to access special printer device features and have
been used widely in Windows version 3.x. With Windows 95, Microsoft is
encouraging application developers to move away from these escapes by
providing GDI functionality to replace them.
MORE INFORMATIONApplications written for Windows version 3.x can use the QUERYESCSUPPORT and the PASSTHROUGH escapes, as well as the following 10 escapes. It is important to note that these escapes are only supported for backwards compatibility. All new Windows 95-based applications should use Win32 API that replaces these escapes:
The following functions should always be used in place of a printer escape:
Windows 95 provides six new indexes for the GetDeviceCaps function that replace some additional printer escapes:
Although a lot of the escapes have been replaced with Win32 GDI equivalent APIs, not all device-dependent escapes have been replaced. It is up to the printer driver manufacturer to decide whether or not its Windows 95-based driver will contain device-specific escapes that were present in its Windows version 3.x driver. An example of a device-specific escape would be the Windows version 3.x PostScript driver's POSTSCRIPT_IGNORE escape. Before calling any of these escapes, an application must first call the QUERESCSUPPORT escape to find out if the escape is supported or not. Additional query words: 4.00
Keywords : kbSDKWin32 kbWinOS95 kbDSupport |
Last Reviewed: July 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |