Subject: Re: CVS commit: basesrc
To: Michael Eriksson <eramore@era-t.ericsson.se>
From: Greg A. Woods <woods@most.weird.com>
List: source-changes
Date: 02/03/2000 12:27:07
[ On Thursday, February 3, 2000 at 11:04:41 (+0100), Michael Eriksson wrote: ]
> Subject: Re: CVS commit: basesrc
>
> Hubert Feyrer wrote:
> > Module Name: basesrc
> > Committed By: hubertf
> > Date: Wed Feb 2 16:04:51 UTC 2000
> >
> > Modified Files:
> > basesrc/etc: printcap
> >
> > Log Message:
> > add example for HP Laserjet with JetDirect ethernet card
>
> What you added isn't correct. The HP printers want the sender to
> shutdown(2) its sending side, and then wait for the printer to close
> the connection when it's done printing. It sends error and status
> messages back on the TCP connection. If you just close the connection
> when you've sent the file, as lpr does, the printer will abort the
> job.
I thought it must have been some protocol incompatability -- I've been
battling this off and on for years. Unfortunately without technical
manuals for the printers and without a specific goal to make it actually
work (such things are always side issues, esp. when you've been hired to
fix something else!) I was unable to understand the problem and find a
suitable fix. Even wors this has usually ended up with the print server
being replaced by a Windows-NT box that "works right". :-(
--
Greg A. Woods
+1 416 218-0098 VE3TCP <gwoods@acm.org> <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>