Real number of TotalPages of a PrintJob (Win32_PrintJob)

前端 未结 1 663
囚心锁ツ
囚心锁ツ 2021-01-16 12:16

I\'m querying to Win32_PrintJob WMI class every time there is a change with ManagementEventWatcher, I obtained data about it, such as: Document, HostPrintQueue, JobId, JobSt

相关标签:
1条回答
  • 2021-01-16 12:48

    WMI is probably not sufficient to do this.

    Windows doesn't reliably provide the page count (or copies etc), so the only way to get accurate info is to pause the job and parse it. This is a non-trivial task, but here's a little more info.

    0 讨论(0)
提交回复
热议问题