Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: how to get spool info from NT

by joefission (Monk)
on Jul 17, 2001 at 18:38 UTC ( #97328=note: print w/replies, xml ) Need Help??


in reply to how to get spool info from NT

Update: Thanks to crazyinsomniac for pointing out the proper URL for the working and featured script.

Paul Papour wrote a perl based print monitor, NTPStat.pl.

If you use activestate's perl, all modules required, except Win32::Service, are already installed.

Basic rundown:
Connect to the print server registry to find where the spooler lives.
Connect to the spooler directory.
Each subdirectory is the printer name.
Print information files are extracted and displayed.
It also provides the ability to delete print jobs and control the Spooler Service.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://97328]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2020-05-27 10:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (154 votes). Check out past polls.

    Notices?