Control Printer Queue On Windows 2000/XP

B

binarystar

Hi folks,

I am writing a script to print a few thousand pdf documents and I need
to have some control over the number of jobs that are sent to the
printer queue at time ... something along the lines of

if number_jobs > MAX_JOBS:
time.sleep(10)
else:
#Print More Files


I have been investigating the win32print utility
http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/pywin32/win32print.html

.... but can not see how to get print queue information eg the number of
jobs pending .. atleast my attempts are failing

any ideas??

thx in advance

**
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top