none
Print job not getting deleted from spooler queue.

    Question

  • 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. 

     

    Thanks

    Wednesday, October 12, 2011 7:00 PM

All replies

  • click start

    click run

    in the textbox type services.msc

    find the service name print spooler, right click on the service and restart the service.


    Regards, h9ck3r.
    • Edited by h9ck3r Thursday, October 13, 2011 3:21 AM
    Thursday, October 13, 2011 3:21 AM