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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top