freebsd-dev/usr.sbin/lpr
joe 450defbb10 It's not been possible to configure a print server running lpd,
with remote hosts feeding it, so that some hosts have their header
pages supressed and some don't.  This is because lpd doesn't know
how to rewrite a print job before forwarding it to a remote lpd.
In particular this causes problems with p rinters that contain
their own lpd, eg. HP jet direct cards, because they can't suppress
headers.  It's not possible to have headers supressed by putting
'sh' in any printcap in the lpd chain, it is up to the originating
lpr to have a '-h' option specified at run time.

Lpr has been modified to allow _it_ to honour the 'sh' flag in the
local print cap.  This allows the administrator to switch off
headers for a particular printer (on a particular host) irrespective
of whether that printer is local to the machine or remote.

This doesn't break anything, because in the case of a remote printer
the 'sh' flag would have had no meaning, in the case of the local
printer it would have been on anyway.

Submitted by:	Scott James Remnant <scott@pavilion.net>
2000-01-19 14:25:08 +00:00
..
chkprintcap $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
common_source $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
filters $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
filters.ru moved to koi2alt 1999-09-23 02:54:44 +00:00
lp $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
lpc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
lpd Add support for pr's locale 1999-11-30 16:15:22 +00:00
lpq $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
lpr It's not been possible to configure a print server running lpd, 2000-01-19 14:25:08 +00:00
lprm $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
lptest $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
pac $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
runqueue $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
SMM.doc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00