Using FindNextPrinterChangeNotification fails on IPP printers

不羁的心 提交于 2019-12-12 01:32:10

问题


Using the FindNextPrinterChangeNotification function from a native C application, it works as expected when using a local printer.

I.e. when being printed, the FindNextPrinterChangeNotification function correctly returns the handle of a printer job that is being printed to a local printer.

However, when printing to an IPP printer (i.e. a printer that connects through the Internet Printing Protocol), the FindNextPrinterChangeNotification function call fails and GetLastError() returns ERROR_INVALID_HANDLE.

Others seem to have the same issue with no solution so far.

So my question is:

Are you aware on how/whether to successfully use printer job notifications (in contrast to manually polling for new jobs) on IPP printers?

(I'm using Microsoft's PrintMon tool for testing)

来源:https://stackoverflow.com/questions/9705842/using-findnextprinterchangenotification-fails-on-ipp-printers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!