[cups.general] Automatically cancel problem print jobs

henri henri at stmargarets.school.nz
Thu Jan 17 15:28:10 PST 2008


Would you mind posting a link to this script. I am also interested in  
how you are handling this situation.

> A simple script you setup to run in cron can do the job for you. If  
> you
> want, I can send you the script I used to do just that. You can use or
> modify to fit your need.


Also slightly of topic.

>> We have about 50 printers in our office that use CUPS.  We have our  
>> default error policy set to 'abort-job'.  Sometimes there are print  
>> jobs that for whatever reason do not print, stay stuck in queue as  
>> 'processing', and prevent subsequent print jobs (in that queue)  
>> from printing.  Right now, our solution to this is to stop the  
>> printer, cancel the job, and restart the printer.  We would like it  
>> if CUPS could automatically cancel these problem jobs and let  
>> subsequent jobs through.  Any suggestions?  Thank you.


Is there a way of configuring CUP's to only send a single print job at  
time. For example, once the printer has successfully completed a print  
job a signal requesting the next print job would be sent to the CUP's  
server for the next job. Is there a name for this kind of setup?

The end result being that if a printer has a problem printing a  
particular job and the printer requires the power to be cycled, the  
back log of jobs will continue to print out because they are still  
sitting safely on the server.

This problem is specific to printers or copies which cache jobs before  
they are printed, and do not have a way of storing the jobs when power  
is cycled. I am guessing it will depend on the printer having a  
feature which allows it to send notification(s) back to the cups  
server perhaps via SMNP?

If anyone has had a similar problem and implemented a solution I am  
interested to know what  unforeseen disadvantages you came across and  
also how it was implemented.

Alternatively, is there a CUP's PostScript parsing script which is  
able to check for errors and then place the jobs which may cause  
problems on hold or onto another queue?

Thanks.






More information about the cups mailing list