?
Solved

Installed Printers check

Posted on 2010-09-14
3
Medium Priority
?
287 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
Tony Massa earned 500 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 real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

752 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