Solved

Installed Printers check

Posted on 2010-09-14
3
245 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

I have never ceased to be amazed how many problems you can encounter on a fresh install of a Windows operating system.  This is certainly case in point& Unable to complete ANY MSI installation.  This means Windows Updates are failing and I can't …
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now