如何清除和限制本地打印机队列 [英] how to clear and limit local printer queue

查看:200
本文介绍了如何清除和限制本地打印机队列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我一直在努力限制我的打印机队列中只允许有1个文档,有人知道或者是否有代码或一个应用程序可以自动帮助我完成此操作,这是一个麻烦信息亭存在问题,我的工作范围很广,并且很难向人们解释该怎么做,感谢您的帮助,代码只是确保每次打印队列中只有1个文档而已

问候
Wesley

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

推荐答案

您可以使用WMI查询打印队列的大小,并仅在打印队列为空时提交打印作业.参见 [ ^ ]文章中的类,可让您查询打印队列.

/ravi
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


这篇关于如何清除和限制本地打印机队列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆