> From [EMAIL PROTECTED] Tue May  7 01:21:48 2002
> Date: Tue, 7 May 2002 09:21:58 +0200 (CEST)
> From: Villy Kruse <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: Re: lpq changin timeouts on "cannot open connection"
>
> On Sun, 5 May 2002, Patrick Powell wrote:
>
> The problem arises, I beleive, because both lpr and lpd contains
> the same capabilities to talk to a remote lpd server and thus needs
> the same set of printcap parameters.  If "force_localhost" is NOT
> in effect there is no confusion as only the lpr (and lpq and lprm)
> is in the picture as the lpd daemon would be bypassed entirely.
> Therefor in that case all the printcap parameter applies to the
> lpr program.
>
> If "force_localhost" IS in effect, then the behaviour of lpd is
> radically changed, as it is always talking to the lpd daemon via
> "localhost" or perhaps via a unix (local) socket.  Therefore most
> if not all the parameters in the printcap entry applies to the lpd
> daemons and not to the lpr program.  If, you still need to have a
> printcap parameter apply to lpr in this case you can still add the
> "client" keyword to a separate stanca.
>
> I wonder if you can use that to "force_localhost" to determine if
> a printcap parameter applies to lpr/lpq/lprm or not, or if it would
> create problems if you made such a rule.
>
> "force_localhost" will always be in effect unless you either have
> rm=hhh and rp=xxx combination or lp=xxx@hhh defined in the printcap
> entry.
>
> BTW, the server client destinction is not entirely correct, as the
> lpd daemon works both as a server and as a client, a server when
> a lpr or another lpd daemon is sending a printrequest, and as a
> client when it sends a print request to another lpd server.  That
> does not mean that you should change the labels as that would just
> cause unnecessary extra confusion.
>
>
> Villy

OK. Idea dropped.

Patrick ("Ka-THUD") Powell

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.lprng.com)

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