Hi Patrick,


Meanwhile I have tried again with "remote_support":

/etc/lpd_printcap:

printer1
        :server
        :sd=....
        :lpd_bounce
        :if=...
        :lp=printer2@physdg05
        :remote_support=RQ

printer2:
        :server
        ....


This seems to do the trick: I can say "lpr -Pprinter1 /etc/motd" and
it's ending up in queue 
printer2. "lpq -Pprinter1" shows queue printer1 and printer2. 
"lprm -Pprinter1 all" does nothing (all jobs already in printer2 queue).
"lprm -Pprinter2 all"
removes the job. Disabling lpq recursion with 'remote_support=R' works
too.

If this is the correct behaviour of LPRng, my problem is solved and I do
not need an extra
flag like 'no_recursion'. If above is a dirty trick or would lead to
other problems, I would like to have an option on a general basis,
perhaps other users would like to have a command line option.

Greetings

Thomas Vogt
[EMAIL PROTECTED] wrote:
> 
> > From [EMAIL PROTECTED] Wed Jun 14 19:43:46 2000
> > Date: Wed, 14 Jun 2000 18:53:35 -0700 (PDT)
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: Re: LPRng: avoid recursion of lpq/lprm
> >
> > > From [EMAIL PROTECTED] Wed Jun 14 01:43:20 2000
> > > Date: Wed, 14 Jun 2000 09:34:21 +0200
> > > From: Thomas Vogt <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: LPRng: avoid recursion of lpq/lprm
> > >
> > > Hi,
> > >
> > >
> > > I have a real life example:
> > >
> > > - printer1 is a LPRng queue
> > > - printer2 is a remote queue on a Xerox DP65 Printer, which has a Sun
> ...
> > >
> > > That's why I want to disable recursion of lprm.
> > >
> > >
> > > Greetings
> > >
> > > Thomas Vogt
> > > Firmengruppe Dr. G�ldener
> >
> > OK,  this makes sense now.  I will think about it for a while.
> >
> > Patrick
> 
> Would a 'flag' on the command line be satisfactory,  or would you
> need to do this on a 'general basis?':
> 
> lpq -N ...
> lprm -N ...
> 
> VS:
> 
> lp:
>   :no_recursion
> 
> Patrick Powell                 Astart Technologies

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


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