Dear Steve,

I have appended an e-mail from the IBM TCP-L mailing list, authored by Les
Geer of IBM, to this response. It explains which TCP ports are normally used
by LPR clients when they are trying to send data from their machine to a
remote host (in your case the ports the lpc daemon would probably query
first to create an outbound transmission for you to the JetDirect card) .
You should check to see whether some process has blocked the ports listed in
the appended e-mail on your Linux partition so that the lpc daemon cannot
find a local port to use to begin processing a request to send a file to a
printer. You should also be able to find a descrition file (example it could
be a *.ini file) regarding your lpc daemon service on your partition which
will tell you how many ports in total it can query when trying to fulfill a
print request and the local port ranges as well.

The LPD daemon on your Linux partition is used to receive files for printing
from other hosts. Typically it will have no effect on problems with sending
files from your Linux partition to a remote printer.

HTH

Best Regards,

/Paul
--
Paul Tykodi
National Product Manager
LCI-Intermate US, Inc.

p: 603.431.0606 x115
f: 603.436.6432
[EMAIL PROTECTED]
www.intermate.com

>-----Original Message-----
>From: IBM TCP/IP List [mailto:[EMAIL PROTECTED]]On Behalf Of Les
>Geer (607-752-5138)
>Sent: Monday, October 09, 2000 5:43 PM
>To: [EMAIL PROTECTED]
>Subject: LPR/LPD>
>
>
>>I need some help regrding the following message which I receive when
trying
>>to do an LPR.
>>
>>EZB0943I No local printer ports available now.  Bind Conn failed.  Return
>>Code = -1.   Error Number = 13.  Port Number = 731.   Remote IP Addr =
>>133.133.17.111
>>***
>>
>>
>>Why are there no local ports availaqble and how can I see who's using
them.
>>
>
>Per the LPR/LPD RFC, local ports 721-731 must be used only.  Local
>is local to the host where the LPR command was issued.  The LPR command
>connects to port 515 on the remote side (the daemon or printer side).
>When all 11 ports are in use, it could be there are 11 print jobs
>currently being handled.  Or, 11 print jobs were handled in the recent
>past and the TCP stack hasn't allowed anyone else to use the local
>ports yet (making sure all previous packet traffic has subsided).
>
>Most daemons do not enforce the 721-731 port usage (some still do).
>Many LPR commands have a secure option which allows you to select the
>local port range.  Secure of yes forces 721-731.  Secure of no allows
>a much larger port range to be used (for example 1024-2048).
>
>Best Regards,
>Les Geer

>Date:    Sun, 17 Feb 2002 00:30:02 -0700
>From:    Steve Bui <[EMAIL PROTECTED]>
>Subject: lpc: connect: Connection refused
>
>We are in dire need of help since after our linux system was booted on
>saturday, the lpd has problem connecting to printers and below is the log:

><snip>

>root@t2linux:/home/khaam >
>root@t2linux:/home/khaam > lpc start npf0010
>npf0010:
>        printing enabled
>lpc: connect: Connection refused
>        couldn't start daemon
>----------------------
>We stop and start the lpd to no avail.  We have 404 printers in  the
>'printcap' file.
>____________ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>Steve Bui , IRIS - IBM Systems Support Mgr.
>Phone(480) 965-3070 / fax(480) 965-6317

Reply via email to