PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Printing
Adding/Deleting a local printer via the command line.
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Printing
Adding/Deleting a local printer via the command line.
![]() |
Adding/Deleting a local printer via the command line. |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hello
Does anyone know how I can add and delete a local printer via the command line. I'm installing an application via a WinInstall package and this application requires that a particular local printer be present first. I need to be able to this to a very large group of people. So I thought of creating a batch file to run along with my distribution package Thanx! |
|
|
|
#2 |
|
Guest
Posts: n/a
|
XP Pro ships with several scripts that interface with WMI to enumerate , add
and delete printers. in system32 prnmngr.vbs to list, add, delete printers prnport.vbs to list, add, delete TCP ports prmdrvr.vbs to list, add, delete drivers. there are a couple other for queue and job controls -- Alan Morris Windows Printing Team Search the Microsoft Knowledge Base here: http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto This posting is provided "AS IS" with no warranties, and confers no rights. "ITNATE" <anonymous@discussions.microsoft.com> wrote in message news:70218826-5D0C-46BD-A4D1-76190243E5A5@microsoft.com... > Hello, > Does anyone know how I can add and delete a local printer via the command line. I'm installing an application via a WinInstall package and this application requires that a particular local printer be present first. I need to be able to this to a very large group of people. So I thought of creating a batch file to run along with my distribution package. > > Thanx! |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

