Solved

printer directory list

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 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

22 Experts available now in Live!

Get 1:1 Help Now