HOWTO: Set the Default Printer Programmatically in Windows 95, Windows 98, or Windows Me (140560)
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 Q140560 SUMMARY
To set the default printer programmatically under Windows 95, Windows 98, or Windows Millennium Edition (Me) use the SetPrinter() Win32 API function.
Note that the SetPrinter() API call is a valid method, but is platform-dependent and should work only on Windows 95, Windows 98, or Windows Me (it does not work on Windows NT or on a 16-bit platform).
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbenv kbhowto KB140560 |
---|
|