CUPS problem

vu pham vu
Thu Sep 27 15:48:46 PDT 2007


On Thu, 2007-09-27 at 10:54 -0500, C M Reinehr wrote:
> On Thursday 27 September 2007 10:25, Vu Pham wrote:
> > On Thu, 2007-09-27 at 07:38 -0700, Lonni J Friedman wrote:
> > > I've never run into this.  What kind of printer is this, and how did
> > > you set it up?  Did you try purging the CUPS printer profiles, and
> > > recreating them?
> >
> > Lonni,
> >
> > Yes, I deleted some printers and re-created them. These are Zebra and HP
> > printers, some wireless and some wired.
> >
> > I changed some configuration and now f1, f2 and f3 are printed by order
> > f1, f3 and f2 :
> > - f1 printed first
> > - f2 reported error "Printer busy"
> > - cups waits 30 seconds then print f3 ( not f2 ), exactly from what
> > lpstat says "retry in 30 seconds".
> > - cups wait some more seconds ( about 4-5 seconds ) to print f2.
> >
> > I will do some more changes in the config file and will report back.
> >
> > Anyone knows how to change the "wait for 30 seconds of LPD" ? I could
> > not find the parameter to change this value.
> >
> > Thanks,
> >
> > Vu
> 
> Vu,
> 
> You can edit the ErrorPolicy in /etc/cups/printers.conf file to change this 
> behavior (http://www.cups.org/documentation.php/ref-printers-conf.html).
> 
CM, 

I 've c'hanged that value in /etc/cups/cupsd.conf, but not yet
in /etc/cups/printers.conf. I will try it again tomorrow. I got home
already for some "particular" project :)

Currently I add a cronjob that run every 3 seconds, looking for the
printers that have errors and restart it by /usr/sbin/cupsenable. This
temporarily fixes the problem. The print jobs are printed in order now.
Of course, it is not the good fix. It is just a temporary fix to wait
for me to build a similar server so I can try .

Thanks,

Vu



Vu



More information about the Linux-users mailing list