Microsoft KB Archive/153751

{|
 * width="100%"|

Printers.exe - Using Printers with Windows 95 Shell

 * }

Q153751

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), included with:
 * Microsoft Windows 95
 * Microsoft Windows 98
 * Microsoft Windows NT Server version 4.0
 * Microsoft Windows NT Workstation version 4.0
 * the operating system: Microsoft Windows 2000

-

SUMMARY
The Printers.exe sample demonstrates how to programmatically manipulate printer items in the Windows 95 shell. The sample demonstrates how to enumerate installed printers, how to programmatically launch the Add New Printer Wizard, and how to create shortcuts to installed printers and the Add New Printer Wizard on the desktop. This is accomplished by using combinations of shell functions and OLE.

MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

"Printers.exe" For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

"Q119591 How to Obtain Microsoft Support Files from Online Services" Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.

Additional query words:

Keywords : kbfile kbole kbprint kbsample kbLib kbOSWinNT400 kbOSWin2000 kbSDKWin32 kbOSWin95 kbOSWin98 kbGrpDSShell

Issue type : kbinfo

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch