> ...
> >  It seems clear to me that several people are having similar problems
> > with recent
> > version of LPRng talking to HP printers.
> ...

        A problem I have seen with 3.7.4, SunOS 5.6/5.8 and HP printers is the
early close of have the TCP/IP connection to the printer.  LPRng sends
its data, shuts down its side of the paired connection (FIN bit set)
and waits to receive from the printer.  The printer does not initially
acknowledge the remote end close (the FIN is not accounted for in the
sequence number increment), resends data and eventually closes its end.
After the single successful response from the printer, the printer
stops responding (as if it serially processes connections and refuses more
because it considers one still open).  A printer power cycle gets it
going again.

        My fix for this problem is effectively commenting out the 'shutdown()'
calls in the code (shutdown can close down one side of the connection) and
let the connection pair FIN complete at the close() of the socket.  There is
no l oss of functionality and this fixes my problem described above.

        I have submitted changes to Patrick and will wait to see if he
considers it worth implementing.

===========================================================================
Daniel Trentman                      College Computer System Administration
University of Utah                   Phone        : (801) 581-3485
College of Mines and Earth Sciences  College Phone: (801) 581-8767
135 S. 1460 E. Rm 209                College Fax  : (801) 581-5560
Salt Lake City, UT 84112-0112  USA   E-mail:      : [EMAIL PROTECTED]
===========================================================================


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