Solved

Installed Printers check

Posted on 2010-09-14
3
264 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:jpl6568
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
Tony Massa earned 125 total points
ID: 33674296
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
 
LVL 17

Expert Comment

by:Tony Massa
ID: 33674375
Do you have a location of the printer driver, and INF file name to install?
0
 

Author Comment

by:jpl6568
ID: 33674454
I actually already have a script to install the printer, so I can just call it.  Thanks for the prompt response.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question