如何捕获计算机中出现的任何打印事件? [英] How do I catch any print event raised in my computer?
本文介绍了如何捕获计算机中出现的任何打印事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用Windows窗体创建一个Windows应用程序,我希望能够捕获发送给打印机的所有打印请求。
如何实现这一目标?< br $> b $ b
我的尝试:
我正在寻找解决方案但是还没有任何有用的东西。
I want to create a windows application using windows forms in which i want to catch all the printing request sent to printer.
How can I achieve this?
What I have tried:
I'm looking for the solution, but haven't got anything useful yet.
推荐答案
查看CodeProject文章监视打印机队列(.NET)中的作业 [ ^ ]。
如果它不能满足您的所有要求,那至少应该是一个很好的起点。
Have a look at the CodeProject article Monitor jobs in a printer queue (.NET)[^].
If it does not fulfill all your requirements it should be at least a good starting point.
这篇关于如何捕获计算机中出现的任何打印事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文