Hi,
I am trying to get the job instance from a printer by
calling enumJobs in my printer driver plugin. In my
testing environment, if the printer is installed as a
local printer, job instance can be retrieved from
enumJobs through the printer handle. However, if the
printer is installed as a network IPP printer, printer
information returned from GetPrinter shows no job
(PRINTER_INFO_2.cJobs is 0) in the queue.
I think if a printer is installed as an IPP printer, the
job is sent directly to the printer without passing
through spooler. But I am not sure. If not, is there any
way to get the job information of the printing job? Could
anyone here clear up my mind?
Thanks,
Roy