> From [EMAIL PROTECTED] Wed Sep 26 13:59:22 2001
> Date: Wed, 26 Sep 2001 22:42:59 +0200 (CEST)
> Subject: ports used by lpd
> From: "Marien Tielemans" <> [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
>
> Hello Patrick,
>
> I want to ask you a question about lprng running on a redhat 7.1 distro.
> We installed the latest version of lprng (3.3.7)
> The application we are using likes to make "big" printjobs , for instance 
> printing 1000 labels , each label has it's own printjob.
>
> We got the error " lpd not accessible" exactly as you described in the 
> HOWTO. LPD does not respond afther about 600 labels.
>  Your solution was to increase the ip (return)ports via lpd.conf .
> As you wrote default lprng is using more ports range ...-1023 but that 
> seems not enough in our case.
>
> We now set the range from 20000-49000 and the problem seems to be solved.
>
> my question is , do you think our solution can be safely done ?
> Do you have an other (better) solution for this ?
>
> Hope you can give me a hint , thanks ,
>
> Best regards,
>
> Marien Tielemans
>
>

You will have problems when you try to connect to other non-LPRng
systems that will require you to have ports in this range.  However,
you can do the following for this:

1. Set the default port range to 0 in /etc/lpd.conf

# Purpose: orginate connections from these ports
#   default originate_port=512 1023  (STRING)
originate_port=0

2. In the printcap for the systems that require you originate
   from a resevered port, put:

  lp:
    :originate_port=512 1023

This is the general solution to this problem.

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