How to pause the Win32_printJob by Printername and JobID

后端 未结 2 1351
别跟我提以往
别跟我提以往 2020-12-20 07:15

TASK

When user print the document ,pause the pop will appear then fill the form click enter the form will closed and job has been r

2条回答
  •  生来不讨喜
    2020-12-20 07:23

    WMI is too slow for this. You probably need to use FindFirstPrinterChangeNotification and FindNextPrinterChangeNotification.

    You might find these examples useful.

提交回复
热议问题