While Con2Prt would allow you to add or delete a network printer, in Windows NT 4.0,
Windows 2000 also allows you to add and delete local printers.
You can run the commands remotely, schedule them, or even run them in a logon script, for Windows 2000 clients.
Type rundll32 printui.dll,PrintUIEntry /? at a command prompt.
To add "Test Printer", an Agfa printer, on computer name PRTSVR, type:
rundll32 printui.dll,PrintUIEntry /ia /c\\PRTSVR /m "AGFA-AccuSet v52.3" /h "Intel" rundll32 printui.dll,PrintUIEntry /if /b "Test Printer" /c\\PRTSVR /f "%windir%\inf\ntprint.inf" /r "lpt1:" /m "AGFA-AccuSet v52.3"To delete "Test Printer":
rundll32 printui.dll,PrintUIEntry /dl /b "Test Printer" /c\\PRTSVR
0 comments
Hide comments