Accessing Active Printer Queue From VBA

  • Thread starter Thread starter Doug
  • Start date Start date
D

Doug

Is there a way in VBA to access the active printer queue
to see if print jobs are hanging, and if so delete them?

In an Excel VBA macro, I'm printing a worksheet to a PDF
file, and sometimes the Adobe converter program crashes
and won't let me keep printing unless I go to "Printers"
and delete the job that caused it to crash. Then ,the
rest of the jobs in the queue go OK. In VBA code, I'd
like to know if a print job has an error and if so I'd
like to delete it from the queue. Anything?
 

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

Back
Top