?
Solved

printer directory list

Posted on 2011-03-16
3
Medium Priority
?
174 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
[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 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 2000 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

ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

Question has a verified solution.

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

Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
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