Listing installed printers via a batch file

  • Thread starter Thread starter Perdition
  • Start date Start date
P

Perdition

hi everyone :) i'm making a batch file which allows removing, adding
and setting default printer under win xp, it works great but i'd also
like to add the option in the batch file to list the current printers
installed, preferably by share name since adding with rundll32.dll
printui is done by share name. Any ideas how this can be done?

Thanks alot,
michael
 
Perdition said:
hi everyone :) i'm making a batch file which allows removing, adding
and setting default printer under win xp, it works great but i'd also
like to add the option in the batch file to list the current printers
installed, preferably by share name since adding with rundll32.dll
printui is done by share name. Any ideas how this can be done?

Thanks alot,
michael

Windows xp script 'prnmngr.vbs' can list installed printers.
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=10051
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prnmngr.mspx
 
Back
Top