Can you give me a few more details?

1. what version of LPRng are you running?
2. When you do 'lpq -lll' or 'lpq -L' what is the status for the
   jobs that are 'discarded'?  Is it 'JFAIL'?
3. Try setting  :send_try=1 and :send_failure_action=|/usr/libexec/filters/senderror
   in the printcap rather than the lpd.conf file:

lp:
  :send_try=1
  :send_failure_action=|/usr/libexec/filters/senderror
  :...

This is a better method than setting a global default for all queues.

> From [EMAIL PROTECTED] Sat Oct 27 13:36:56 2001
> Date: Sat, 27 Oct 2001 21:46:18 +0200
> From: Florian Diesch <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: JTIMEOUT and send_failure_action
>
> Hi!
>
> I'm using LPRng-3.8.0 and ifhp-3.4.7 on Solaris 8/Sparc with a HP4050.
>
> It seems that after JTIMEOUT my send_failure_action isn't executed. Instead
> the job ist silently deleted or retried forever.
> How can I force lprng to execute send_failure_action?
>
>
> my lpd.conf:
>
> ab@
> check_for_nonprintable@
> default_permission=REJECT
> mail_from=lpd_error
> #[EMAIL PROTECTED]
> mc=3
> minfree=1024
> mx=51200
> sb@
> sendmail=/usr/lib/sendmail -oi -t
> send_failure_action=|/usr/libexec/filters/senderror
> send_try=3
> stalled_time=300
> connect_timeout=60
> save_on_error@
> send_job_rw_timeout=60
> send_query_rw_timeout=60
> connect_grace=0
> network_connect_grace=0
> retry_econnrefused@
> retry_nolink@
> max_connect_interval=120
> max_status_size=1024
> max_log_file_size=1024
>
>
> -- 
>  Sch�nen Tag noch   
>      Florian        # http://www.informatik.uni-freiburg.de/~diesch/
>  --------------------------------------------------------------------------
>    **  Hi! I'm a signature virus! Copy me into your signature, please!  **
>
> -----------------------------------------------------------------------------
> 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