Is using the PrintServer
and PrintQueue
classes the same as looking at the jobs via the printer in Windows?
使用PrintServer和PrintQueue类与在Windows中通过打印机查看作业相同吗?
We have an application that can print to a windows printer directly, but it cannot create a byte array or anything similar that we could use to call AddJob
. Would enumerating the printer using the PrintQueue.GetPrintJobInfoCollection()
method work for checking the status of the original printed item?
我们有一个可以直接打印到windows打印机上的应用程序,但是它不能创建一个字节数组或任何类似的东西,我们可以用它来调用AddJob。将使用PrintQueue.GetPrintJobInfoCollection()方法枚举打印机,以检查原始打印项的状态。
1 个解决方案
#1
3
I believe so. See the example in How to: Diagnose Problematic Print Job. The article illustrates the use of PrintServer
& PrintQueue
to identify problematic print jobs.
我相信如此。请参见如何:诊断问题打印作业的示例。本文演示了使用PrintServer和PrintQueue识别有问题的打印作业。
Here's code project article that uses WMI for enumerating print job : http://www.codeproject.com/KB/printing/prntjobcontrollerusingwmi.aspx
下面是使用WMI枚举打印作业的代码项目文章:http://www.codeproject.com/KB/printing/prntjobcontrollerusingwmi.aspx
#1
3
I believe so. See the example in How to: Diagnose Problematic Print Job. The article illustrates the use of PrintServer
& PrintQueue
to identify problematic print jobs.
我相信如此。请参见如何:诊断问题打印作业的示例。本文演示了使用PrintServer和PrintQueue识别有问题的打印作业。
Here's code project article that uses WMI for enumerating print job : http://www.codeproject.com/KB/printing/prntjobcontrollerusingwmi.aspx
下面是使用WMI枚举打印作业的代码项目文章:http://www.codeproject.com/KB/printing/prntjobcontrollerusingwmi.aspx