I started a printing job.When spooling complete and spooler started to send print data to printer then i cancel the print job from spooler. Spooler calls the endDocPort() method of my Language Monitor. Language monitor then calls setJob() spooler api to
set the job status as JOB_CONTROL_LAST_PAGE_EJECTED but still the job is not getting deleted from spooler.The job status remains as Deleting-Sent to printer.And job remains in spooler forever unless i restart the spooler service again.
Any idea why job is not getting deleted considering the fact that i have call the setJob() method(Spooler API) with JOB_CONTROL_LAST_PAGE_EJECTED.I used JOB_CONTROL_DELETE status as well but it is also not working.As per MSDN documentation this should
delete the job from spooler.Your help will be appreciable.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.