1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# $ApsCVS: src/apsfilter/doc/README.BSD,v 1.1 2001/03/20 00:15:58 andreas Exp $
Special note for FreeBSD 3.X (and early 4.0 or even 4.1) and possibly
other BSD based systems:
CLASS support (for lpr -C medium) is only enabled if you print the header page
(no :sh: in /etc/printcap).
To enable CLASS support with suppressed header page (printcap: :sh:) you need
to apply the following patch to lpr.c (LPRng doesn't need this).
Index: lpr.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/lpr/lpr/lpr.c,v
retrieving revision 1.32
diff -u -r1.32 lpr.c
--- lpr.c 2000/01/19 14:25:08 1.32
+++ lpr.c 2000/04/05 09:36:01
@@ -320,7 +320,7 @@
seteuid(uid);
card('H', host);
card('P', person);
- if (hdr && !pp->no_header) {
+ if (hdr) {
if (jobname == NULL) {
if (argc == 0)
jobname = "stdin";
|