Tekoni Posted September 16, 2014 Posted September 16, 2014 I am creating an Autoit application to install network printers. However, I need a way to check for or delete a printer if it is already installed. I am using Prnmngr.vbs to check for names: RunWait (@ComSpec & ' /c Cscript "' & $Prnmngr & '" -d -p "' & $printerName & '"', "", @SW_HIDE) However, the name of any particular printer can vary from computer to computer. Is there a way I can search by IP address and thus get the name as installed on the computer?
Solution MikahS Posted September 16, 2014 Solution Posted September 16, 2014 Have a look >link Tekoni 1 Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
Tekoni Posted September 16, 2014 Author Posted September 16, 2014 Exactly what I was looking for! Thank you!
MikahS Posted September 16, 2014 Posted September 16, 2014 Anytime Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now