Re: how to check the status of a networked printer
by rotaiv other posts by this author
Apr 27 2001 8:12PM messages near this date
view in the new Beta List Site
Re: how to check the status of a networked printer (Was - Re: PERL on W2K)
|
PERL on W2K
At 04/26/2001 08:49 PM, Paul Popour wrote:
> First, don't reply to one thread and change the subject without
> changing the subject line. Bad manners.
I agree and this was not my intent. My apologies.
> Do you want to monitor the status of the printer, the
> communication interface, or the print queue.
I'm not really sure. The printer responds via IP. The panel on the
printer says, "Ready". However, it you try to look at the job queue, NT
will say, "Status unavailable". At this point, no further print jobs will
be printed. The solution so far has been to delete the port, create a new
one and assign the port pack to the printer.
> If printer, use snmp modules (if HP printers use the webjetadmin
> program which does all this for you [using snmp]).
I thought of this idea but have not yet tracked down the latest version of
Jet Admin. Also, I have bad memories from previous installations so I am
little shy of using it again. I like the idea of using SNMP to check - any
suggestions on which module or a sample?
> If the interface, use Net::Ping. If not IP, shoot yourself now.
As already noted, it is IP and it does respond.
> If print queue, well the queue doesn't really have a status, use
> the win32::Service or Win32::Lanman module to check the status of
> the spooler service.
I looked at the docs for Win32::Service - how will this help? The spooler
service appears to be working as other printers serviced by the same server
are working fine.
I downloaded Win32::Lanman yesterday but as of yet, I have been unable to
find any documentation. If anyone has a link, that would be appreciated.
FYI - This is only a temporary need. Hopefully, we will fix the problem
and not need any "monitoring" tools. Until then, I'd like to at least know
when there is a problem.
rotaiv.
_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
Thread:
rotaiv
Paul Popour
Paul Popour
rotaiv
|