On Wednesday 27 June 2007 03:04, Fajar Priyanto wrote:
> Sometimes if for some reason the printing fail such as you forget to turn
> on the printer first, etc, Suse will "disable" the printer.

I would like to add that if you add the line:
ErrorPolicy retry-job
to /etc/cups/printers.conf
and:
JobRetryInterval 30 (or such)
to /etc/cups/cupsd.conf
many nuisance stops/restarts will be avoided.

reference:
http://localhost:631/help/ref-printers-conf.html?TOPIC=References&QUERY=#ErrorPolicy

ErrorPolicy
Examples

<Printer name>
  ...
  ErrorPolicy cancel-job
</Printer>

Description

The ErrorPolicy directive defines the policy that is used when a backend is 
unable to send a print job to the printer. The lpadmin(8) command sets the 
current error policy:

/usr/sbin/lpadmin -p printername -o printer-error-policy=stop-printer

The following values are supported:

    * cancel-job - Cancel the job and proceed with the next job in the queue
    * retry-job - Retry the job after waiting for N seconds; the cupsd.conf 
JobRetryInterval directive controls the value of N
    * stop-printer - Stop the printer and keep the job for future printing; 
this is the default value

This directive must appear inside a Printer or DefaultPrinter section.

HTH,
-- 
Jim Barnes
--
Certainly the game is rigged. Don't let that stop you; 
if you don't bet, you can't win.            -Lazarus Long 
--
Linux 2.6.15-28-386
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to