I am going to post an explanation of the various timeouts to the
LPRng list, but here is a quick summary for you:

> From [EMAIL PROTECTED] Wed Aug 23 23:05:13 2000
> From: "Southern Asia-Pacific Division o" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Date: Thu, 24 Aug 2000 01:02:35 +0000 (GMT)
> Subject: Re: Re: LPRng: prints twice
>
> Hi! Thanks for the idea, but how to put it in (connect_timeout#   120 secs) inside 
>the printcap? (sorry for that)
> Anyway here is my printcap entry. Please correct me.
>
> lp0|lex1200
>         :sd=/var/spool/lpd/lp0
>         :mx=0
>         :sh  
>         :lp=lex1200.office.ssd.org%9100
>         :if=/usr/libexec/filters/ifhp
>         :la
>         :lf=/var/log/lpd/lp0
>         :af=/var/log/lpd/acctlp0
>         :as=|/usr/libexec/filters/accounting.pl start
>         :ae=|/usr/libexec/filters/accounting.pl end


Thanks!  Add these:

          # wait this long before assuming that connection failed
          # or the printer has gone catatonic during the initial connection
          # step - this is common with print spooler boxes when somebody
          # else is trying to connect as well and the box handles only one
          # connection.  You can think of this as the 'pound on the door'
          # timeout.  Use the connect_interval to set the time between
          # connection attempts,  and then 'max_connect_interval'
          # to set the maxmimum time between connection attempts.
          :connect_timeout=10
          # job timeout after connection has been made - when you send a job
          # and do something,  you expect to get the job FINISHED,  that is,
          # the filter will EXIT within this time.  If you are using a 'smart'
          # filter like ifhp,  then you may want to delegate this to the
                  # ifhp filter.
          :send_job_rw_timeout=0

>
>
> Cheers,
>
> > Increase the job timeouts.  What is your printcap entry?
> > 
> > Patrick Powell                 Astart Technologies,
> > [EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
> > Network and System             San Diego, CA 92123
> >   Consulting                   858-874-6543 FAX 858-279-8424 
> > LPRng - Print Spooler (http://www.astart.com)

-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to