sholden at holdenweb.com
Wed Nov 7 16:11:19 CET 2001
"Wolfgang Strobl" <Wolfgang.Strobl at gmd.de> wrote ...
> "T. C. Huang" <a00tch00 at nchc.gov.tw> schrieb:
> > How to use win32print.EnumJobs() function? The documention has too
> >little information to
> >be useful.
> I've never used this function, but it took me only a few seconds to
> figure this out from the win32print docs.
> >>> zps=win32print.OpenPrinter("\\\\pricos\\zps")
> >>> win32print.EnumJobs(zps, 0,
Neither have I, and it was but the work of a second to discover I don't HAVE
the function. I assume you are running with something more recent than 2.0?
>>> win32print.EnumJobs(pr, 0, 1,win32print.JOB_INFO_1)['pPrinterName']
Traceback (innermost last):
File "<interactive input>", line 1, in ?
out-of-date-ly y'rs - steve
More information about the Python-list