Solved

printer directory list

Posted on 2011-03-16
3
171 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Learn about cloud computing and its benefits for small business owners.
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

680 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