Subject: Re: CVS commit: basesrc
To: Michael Eriksson <eramore@era-t.ericsson.se>
From: David Brownlee <abs@netbsd.org>
List: source-changes
Date: 02/03/2000 10:29:34
On Thu, 3 Feb 2000, Michael Eriksson wrote:

> Hubert Feyrer wrote:
> > 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.
> 
> Now, I just hacked together this nice perl script which talks to
> JetDirect printers... I'd be happy to send it to anybody that's
> interested (it's only about 50 lines).

	It sounds like a good addition to pkgsrc - care to run up
	a package (you should be able to include the file in the
	package under 'files')

		David/absolute