Debian Codegraph @

doc/README.BSD

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