Hi

How do I determine the status of the print queue from director

My software runs on kiosks with thermal printers, which print out up to 3
pdf documents at a time. (this works well)

The problem is when there is a paper jam or out of paper. Users just keep on
adding more and more documents to the print queue and when the paper is
refilled or unjammed there are dozens of documents still in the queue, but
the users who wanted them are long gone. This uses up all the thermal paper.

What I would like to do is when they click the print button check the print
queue. Perhaps check the printer is online and not out of paper. But mostly
check if there are any documents already in the queue and if there are
delete them form the queue before sending the new docs. Or if there are any
docs already in the queue alert them of printer malfunction and not send any
more docs to the printer. Tell them to go and get the staff to sort the
paper.

How can I find out these details and check them with lingo?

Thanks for your help

Danny