hmm. May have found the problem....(in the CUPS documentation - with head hung 
down)

ErrorPolicy
Examples
<Printer name>
  ...
  ErrorPolicy abort-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:

*abort-job - Abort the job and proceed with the next job in the queue
*retry-current-job - Retry the current job immediately
*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.

So it seems that retry-job depends on the JobRetryInterval, which I don't have 
set
I really needed retry-current-job 

I'll have to try that.

George


> -----Original Message-----
> From: [email protected] [mailto:u2-users-
> [email protected]] On Behalf Of George Gallen
> Sent: Tuesday, October 05, 2010 2:59 PM
> To: U2 Users List
> Subject: Re: [U2] CUPS printing and sequence of jobs
> 
> The error was actually:
> 
> ful-ok)
> W [05/Oct/2010:13:59:01 -0400] [Job 25300] Remote host did not respond
> with comm
> and status byte after 300 seconds!
> D [05/Oct/2010:13:59:01 -0400] [Job 25300] lpd_command returning 104
> D [05/Oct/2010:13:59:01 -0400] Discarding unused printer-state-changed
> event...
> E [05/Oct/2010:13:59:01 -0400] PID 5985 (/usr/lib/cups/backend/lpd)
> stopped with
>  status 1!
> D [05/Oct/2010:13:59:01 -0400] [Job 25300] File 0 is complete.
> I [05/Oct/2010:13:59:01 -0400] [Job 25300] Backend returned status 1
> (failed)
> D [05/Oct/2010:13:59:01 -0400] Discarding unused printer-state-changed
> event...
> E [05/Oct/2010:13:59:01 -0400] [Job 25300] Canceling job since it could
> not be s
> ent after 0 tries.
> 
> Except, a few lines prior:
> 
> D [05/Oct/2010:13:59:01 -0400] [Job 25300] Connected to
> 172.16.30.35:515 (IPv4)
> (local port 1020)...
> D [05/Oct/2010:13:59:01 -0400] [Job 25300] lpd_command 02 canon
> D [05/Oct/2010:13:59:01 -0400] [Job 25300] Sending command string (7
> bytes)...
> D [05/Oct/2010:13:59:01 -0400] [Job 25300] Reading command status...
> 
> So, obviously, it didn't wait for 300 seconds???
> 
> And, in the printers.conf file, my ErrorPolicy is retry-job, not
> delete-and-give-up.
> 
> 
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to