Click here to Skip to main content
15,921,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all, ive been struggling with a way to limit my printer queue to allow only 1 document in it, is there code or a app that anybody knows of or that can help me with to do this automatically cause, it is a problem with kiosks i have over a wide area and its getting difficult to explain to people what to do, any help would be appreciated thanks, code just to ensure that there is 1 document in a print queue at a time

Regards
Wesley
Posted

1 solution

You can use WMI to query the size of the print queue, and submit a print job only when the print queue is empty.  See this[^] article for a class that lets you query the print queue.

/ravi
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900