检查打印机假脱机程序 [英] Check printer spooler
本文介绍了检查打印机假脱机程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们如何知道打印请求被重定向到打印机后台处理程序。如果用户在jsprint中通过pdfcreator打印,则需要阻止用户
什么我试过了:
获取打印机的名称并检查名称。但如果用户更改打印机名称
how can we know that printing request is redirected to printer spooler or not.want to block user if the user print through pdfcreator in jsprint
What I have tried:
get the name of printer and check the name.but it won't work in case if user change the printer name
推荐答案
您可以使用一些dll来访问打印机( [ ^ ]) 。
但是这不可靠,因为它在很大程度上取决于Windows和Windows版本。
You could use some dlls to access the printer([^]).
However this will not be reliable as it will depend heavily on windows and windows versions.
这篇关于检查打印机假脱机程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文