Installed Printers check

We have a program that uses a PDF printer routinely.  We have had a problem where the printer will randomly get deleted without warning.  I was wondering if anyone knew of a way, via a command line script, to check if a printer is installed every so often and if it is not, have it run a certain command.

It will be running on Windows Server 2003.

Any help would be appreciated.

Thanks,
Jason
jpl6568Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Tony MassaConnect With a Mentor Commented:
What type of printer is it?  A networked (shared PDF printer), or a locally installed one?

Here's a script that will check all local printers for a specific printer name, the code to add the missing printer is missing...until I determine what kind of printer it is.
PriterCheck.vbs.txt
0
 
Tony MassaCommented:
Do you have a location of the printer driver, and INF file name to install?
0
 
jpl6568Author Commented:
I actually already have a script to install the printer, so I can just call it.  Thanks for the prompt response.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.