ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activeperl
activeperl
Finding a printer; need help
by Deane Rothenmaier other posts by this author
May 7 2008 7:56AM messages near this date
| RE: Finding a printer; need help
Gurus,

Anybody know of a Perl module that can tell me 1. If there's a printer 
physically connected to a parallel (or serial) port on a PC and, 2. what 
printer it is? I've got a project that wants this info, and I've pretty 
much gotten nowhere trying to use WMI (unless I've missed something). In 
one instance, it (WMI) identifies seven printers connected to LPT1:, and 
says that all of them are in "Idle" status. Anybody want to assess the 
accuracy of that result?  I know, it's just reading the registry (I 
think); so the information I need must be elsewhere.

True confession time: I'm at a loss here, and in need of your guidance.

Thanks!!!!!!!

Deane Rothenmaier
Programmer/Analyst
Walgreens Corp.
847-914-5150

There is something fascinating about science. One gets such wholesale 
returns of conjecture out of such a trifling investment of fact. -- Mark 
Twain
Thread:
Deane Rothenmaier
Scott Campbell
Deane Rothenmaier
John W Kennedy

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved