Solved

Installed Printers check

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RDP up only between 8am-13.00 pm ? 11 83
ESXi VM of Server 2003 Saving Slow. 7 101
Drive mapping problem 7 48
robocopy fails- error 53 - network path not found 5 32
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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