Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经捕获了特定文件(.txt 扩展名)的打印事件。现在我想阻止该特定文件的打印事件请求。有没有办法以编程方式阻止特定文件(扩展名 .txt)的打印作业?我正在使用操作系统:Windows 10 并以 Python 语言实现。
如果您有 JobId,请使用带有命令JOB_CONTROL_CANCEL的 SetJob。