Hmm, this only seems to work for jobs that originate on the machine running the script. I really need something that actually gathers the info from the printers (net-based). Would that be possible at all?
"Simon Brunning" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] On 6/2/05, Guy Lateur <[EMAIL PROTECTED]> wrote: > We have several printers in our company network. I would like to know if > it > is possible to check the current print jobs/queues for each of them. That > way, if a user wants to print something (big), I could give her a hint as > to > which printer would get the job done first. We're using win2k and xp, btw. You can probably do this with WMI. Ah yes, see <http://www.c-sharpcorner.com/Code/2002/May/IntPrinterQWMI.asp>. You can drive WMI from Python with Tim Golden's WMI module - <http://tgolden.sc.sabren.com/python/wmi.html>. Do let us know what you come up with! -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ -- http://mail.python.org/mailman/listinfo/python-list