Subject: Re: bin/20525: lpr cannot suppres headers
To: David Brownlee <abs@netbsd.org>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: netbsd-bugs
Date: 02/28/2003 14:48:17
--5G06lTa6Jq83wMTw
Content-Type: multipart/mixed; boundary="Bn2rw/3z4jIqBvZU"
Content-Disposition: inline


--Bn2rw/3z4jIqBvZU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 28, 2003 at 02:39:02AM +0000, David Brownlee wrote:
> 	Given the quantity of hp JetDirect hardware out there it would
> 	be worth adding a small note to the princap manpage.
> 	(Before closing the pr :)

Sounds like a good idea to me.

My rendition's attached.

--=20
gabriel rosenkoetter
gr@eclipsed.net

--Bn2rw/3z4jIqBvZU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="printcap.5.diff"

--- printcap.5.orig	Fri Feb 28 14:33:51 2003
+++ printcap.5	Fri Feb 28 14:42:42 2003
@@ -120,7 +120,7 @@
 .It "sc	bool	false	suppress multiple copies"
 .It "sd	str" Ta Pa /var/spool/output/lpd Ta No "spool directory"
 .It "sf	bool	false	suppress form feeds"
-.It "sh	bool	false	suppress printing of burst page header"
+.It "sh	bool	false	suppress printing of burst page header (but see BUGS)"
 .It "st	str" Ta Pa status Ta No "status file name"
 .It "tf	str" Ta Dv NULL Ta No "troff data filter (cat phototypesetter)"
 .It "tr	str" Ta Dv NULL Ta No "trailer string to print when queue empties"
@@ -290,3 +290,13 @@
 .Nm
 file format appeared in
 .Bx 4.2 .
+.Sh BUGS
+Note that Hewlett-Packard JetDirect printers will emit a header page
+regardless of the
+.Cm sh
+flag in a
+.Nm
+entry. To disable the header page on these printers, use
+.Xr telnet 1
+to connect to TCP port 23 on the JetDirect interface and issue a
+banner 0 command, then issue a quit command.

--Bn2rw/3z4jIqBvZU--

--5G06lTa6Jq83wMTw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE+X70B9ehacAz5CRoRAkqeAJ9Ny7z8Zynq6WKsWqivnI6rRY/NFwCaAz5O
FVeyRO3ST9+sayzF62s7LQ4=
=UFqx
-----END PGP SIGNATURE-----

--5G06lTa6Jq83wMTw--