Solved

printer directory list

Posted on 2011-03-16
3
168 Views
Last Modified: 2012-05-11
I want to create a batch file which should show me all or specific printer i have listed under printers and faxes on local or remote computers? thanks
0
Comment
Question by:tech2010
  • 2
3 Comments
 
LVL 3

Expert Comment

by:thepcwizard
ID: 35152778
You could use Prnmngr.vbs -l to list all the printers.
See the following information -
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prnmngr.mspx?mfr=true

To run the batch file on remote boxes to gather your data, download SysInternals tool, PsExec.exe.  
The entire suite of tools has a link on Microsoft's site is at:  http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx.  Or a direct link:  http://download.sysinternals.com/Files/SysinternalsSuite.zip

Let me know if you need further direction.
0
 

Author Comment

by:tech2010
ID: 35154994
can i list specific printer using prnmngr.vbs instead of listing all the printers? thanks
0
 
LVL 3

Accepted Solution

by:
thepcwizard earned 500 total points
ID: 35157117
Prnmngr.vbs -l|find "PutPrinterNameHere"

You will get the following output for a match, and a blank line if nothing is found.
Printer Name PutPrinterNameHere
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

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…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

23 Experts available now in Live!

Get 1:1 Help Now