Knowing nothing about these printers, why can't you just fiddle with the
print filter to first determine the status of the printer before the
job is actually sent. If both printers are unavailable, some scripting would
allow the jobs to be delayed or simply stored to a file to be printed later.

Joel

 iinterrogate the printer before attempting to send the job?
> > From [EMAIL PROTECTED] Fri Feb  1 07:54:29 2002
> > Date: Fri, 1 Feb 2002 09:21:45 -0500
> > From: Joseph Formoso <[EMAIL PROTECTED]>
> > To: LPRng mailing list <[EMAIL PROTECTED]>
> > Subject: LPRng: Jobs being sent to stalled printers.
> >
> > Folks,
> >
> >     This morning, our Operations staff found both of our HP8100's
> > had console errors.  As a result, it appears that any jobs submitted
> > after the errors appeared got dumped off the queue.
> >
> >     I would really like it if, when the printers stopped accepting
> > jobs (due to paper jams, etc.) that the jobs that were in the queues
> > *stayed* in the queues until the problem got cleared.  Is there any way
> > to set up the config so that happens?  I feel that I must be missing
> > something pretty basic.
> >
> >     In any case, the two 8100s are pooled; the relevant chunk of our
> > printcap file is thus:
> 
> Set the 'send_try' value to 0.  This will have the effect or infinitely
> repeating trying to send a job.
> 
> This is the good news.
> 
> The bad news is that if a job has a problem and the printer dies a horrible
> death,  then it will get repeatedly sent.
> 
> One of the other problems is that some printers will accept a connection
> when they have a jam,  but then do not accept any data to be processed...
> 
> This means you can connect but not print...  Like I said, try the following
> and see if it does what you want:
> 
> laser|las|ps|lps|hp8100pool:\
>     :send_try=0
>   
> >
> > -------------------------------------------------------
> > laser|las|ps|lps|hp8100pool:\
> >     :sd=/var/spool/lpd/hp8100pool:\
> >     :sv=hp8100a,hp8100b
> >
> > hp8100a|first:\
> >         :rw:\
> >     :mx=0:\
> >         :bp=/usr/local/libexec/filters/psbanner:\
> >         :lp=foo1.bar.baz%9100:\
> >         :af=hp.acct:\
> >         :lf=hp.log:\
> >     :filter=/usr/local/libexec/filters/ifhp:\
> >         :ifhp=model=hp8100:\
> >         :sd=/var/spool/lpd/hp8100a:\
> >     :ss=hp8100pool
> >
> > hp8100b|second:\
> >         :rw:\
> >     :mx=0:\
> >         :bp=/usr/local/libexec/filters/psbanner:\
> >         :lp=foo2.bar.baz%9100:\
> >         :af=hp.acct:\
> >         :lf=hp.log:\
> >     :filter=/usr/local/libexec/filters/ifhp:\
> >         :ifhp=model=hp8100:\
> >         :sd=/var/spool/lpd/hp8100b:\
> >     :ss=hp8100pool
> > -------------------------------------------------------
> >
> >     Many thanks for any assistance.
> >
> >
> >                                     --Joe
> >
> >
> > -----
> > Joe Formoso ([EMAIL PROTECTED]),
> >   Senior Systems Administrator, IT Department, Stevens Institute of Technology
> >
> >
> > -----------------------------------------------------------------------------
> > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> > The address you post from MUST be your subscription address
> >
> > 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.
> > -----------------------------------------------------------------------------
> >
> 
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
> 
> 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.
> -----------------------------------------------------------------------------

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

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