Add / Delete Printers (Windows NT/2000)

Category:
System/API
Type:
Modules
Difficulty:
Intermediate
Author:
Tony Edgecombe

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Add or delete a Windows NT / 2000 printer. Illustrates use of PRINTER_INFO_2 structure and printer related API functions such as CreatePrinter. Usage is well-documented.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download addprinter.zip