Hi Thorsten,

this sounds fairly easy :-)

There is a parameter in your lpd.conf file:

[printsrv3] /usr/spool/samba $ grep send_try ~lp/etc/lpd.conf
# Purpose: failure action to take after send_try attempts failed
#   default send_try=3  (INTEGER)
send_try=0

'0' means try infinite which is probably exactly what you expect, you can
set this 'globally' for all queues in the lpd.conf file or put it in the
printcap for some queues only. In any case you need to do an 'lpc reread'
to let the daemon recognize the new value...

hope this helps
        ~christoph


-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8998-4060        *
\*   22603 Hamburg       |     http://www.desy.de         */


On Wed, 21 Aug 2002, Torsten Wiebesiek wrote:

> Hello,
>
> I have a problem with a new printer at our institute and it would be great, if
> anyone on the list could help me.
>
> Our secretary has got a new network printer (HP LaserJet 1200N) called grass.
> After work the printer is switched off. Sending a job to the printer via our
> central printing server (augur) results in the complete loss of the job. Is
> there a way to keep the job in the queue until the printer is switched on
> again?
>
> The relevant part of the printcap:
>
> grass_simplex|grass_s|grass
>         :cm PostScript HP LaserJet 1200N Guenther Grass (Room 1316) simplex
>         :server:mx#0:rw
>         :lpd_bounce
>         :sd=/var/spool/lpd/%P
>         :lf=/var/log/lpd-errs-%P
>         :filter=/usr/local/bin/magicfilter:\
>         :lp=grass_raw@augur
>
> grass_raw
>         :cm PostScript HP LaserJet 1200N Guenther Grass (Room 1316) raw
>         :server:mx#0:rw
>         :lpd_bounce
>         :sd=/var/spool/lpd/%P
>         :lf=/var/log/lpd-errs-%P
>         :lp=raw@grass
>
> I have also attached the output of two consecutive `lpq -lll -Pgrass_simplex`
> calls.
>
> Thanks,
>
>   Torsten
>
> --
> ----------------------------------------------------------------------
> Dipl.-Ing. Torsten Wiebesiek                     Universitaet Hannover
>                          Institut fuer Theoretische Nachrichtentechnik
>                                           und Informationsverarbeitung
> Phone:        +49-511-762-5328 (Fax: -5333)
> E-Mail:       [EMAIL PROTECTED]
> WWW:  http://www.tnt.uni-hannover.de/~wiebesiek
>


-----------------------------------------------------------------------------
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