How To Set Which Printer Is the System Default Printer (266767)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 4.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
This article was previously published under Q266767 SUMMARY
This article shows how to programmatically set which printer is the system default printer. Not all applications or components can select a specific printer to use. This often makes it necessary to change the default printer for the system so that
the application or component will use the desired printer.
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
167735 FIX: Setting Printer to Item in the Printers Collection Fails
253612 FIX: Printers Collection May Not Contain All Printers in the Printers Folder
246772 How To Retrieve and Set the Default Printer in Windows
Modification Type: | Minor | Last Reviewed: | 8/23/2006 |
---|
Keywords: | kbAPI kbCodeSnippet kbGDI kbhowto kbprint kbSpooler KB266767 |
---|
|