Disable

Sue Toeppler stoeppler at nmtransfer.com
Fri Jan 21 09:37:45 PST 2011


We are converting from an NCR server running Unix to a Linux server.  CUPS has been installed on the Linux server.  We have 3 Genicom printers connected serially to our network (Digi Portserver).  We use the disable command when we need to print on special forms.  We issue the command 'disable -W printername' and if anything is printing, it finishes and then spooled reports just wait in the queue.  We change the paper, run the appropriate job to print on the special form, and when finished, load green-bar and enable the printer.  Whatever is in the queue, then prints.

I can't get this to work with CUPS and Linux.  There is no '-W' option in the disable although it appears what is printing does finish.  But it leaves the print request in the queue (lpstat).  When the printer is enabled (cupsenable), that request prints again.

Also, with the interface I've defined for the printer, it is supposed to do a form-feed when it's finished printing.  When it's been disabled while something is printing, this does not happen.  So it seems as though the disable has taken precedence over what normally happens at the end of a print session (do the form feed as directed by the interface and delete it from the queue).

I've changed the LogLevel in /etc/cups/cupsd.conf from info to debug.  But that just seems to confirm that it doesn't finish all the steps normally done.  There's a 'UpdateJob: job 334, file 1 is complete' and 'CancelJob: id=334' lines that are missing if the printer is disabled while printing.

Do you know how this could be handled successfully?




More information about the cups mailing list