Commit | Line | Data |
---|---|---|
d0aeaf5a DF |
1 | /* |
2 | * Copyright (c) 1983 Regents of the University of California. | |
9d85c861 | 3 | * All rights reserved. |
d0aeaf5a | 4 | * |
9d85c861 | 5 | * Redistribution and use in source and binary forms are permitted |
a399f6c8 KB |
6 | * provided that the above copyright notice and this paragraph are |
7 | * duplicated in all such forms and that any documentation, | |
8 | * advertising materials, and other materials related to such | |
9 | * distribution and use acknowledge that the software was developed | |
10 | * by the University of California, Berkeley. The name of the | |
11 | * University may not be used to endorse or promote products derived | |
12 | * from this software without specific prior written permission. | |
13 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
14 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
15 | * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
9d85c861 | 16 | * |
ca67e7b4 | 17 | * @(#)lp.local.h 5.3 (Berkeley) 6/30/88 |
d0aeaf5a DF |
18 | */ |
19 | ||
c5873777 BJ |
20 | /* |
21 | * Possibly, local parameters to the spooling system | |
22 | */ | |
23 | ||
24 | /* | |
25 | * Magic number mapping for binary files, used by lpr to avoid | |
26 | * printing objects files. | |
27 | */ | |
28 | ||
29 | #include <a.out.h> | |
30 | #include <ar.h> | |
31 | ||
32 | #ifndef A_MAGIC1 /* must be a VM/UNIX system */ | |
33 | # define A_MAGIC1 OMAGIC | |
34 | # define A_MAGIC2 NMAGIC | |
35 | # define A_MAGIC3 ZMAGIC | |
36 | # undef ARMAG | |
37 | # define ARMAG 0177545 | |
38 | #endif | |
39 | ||
40 | /* | |
41 | * Defaults for line printer capabilities data base | |
42 | */ | |
43 | #define DEFLP "lp" | |
44 | #define DEFLOCK "lock" | |
c249bc99 | 45 | #define DEFSTAT "status" |
c5873777 | 46 | #define DEFSPOOL "/usr/spool/lpd" |
c5873777 | 47 | #define DEFDAEMON "/usr/lib/lpd" |
fdaeefb7 | 48 | #define DEFLOGF "/dev/console" |
c5873777 | 49 | #define DEFDEVLP "/dev/lp" |
fdaeefb7 BJ |
50 | #define DEFRLPR "/usr/lib/rlpr" |
51 | #define DEFBINDIR "/usr/ucb" | |
52 | #define DEFMX 1000 | |
c6d1c018 | 53 | #define DEFMAXCOPIES 0 |
fdaeefb7 | 54 | #define DEFFF "\f" |
8f85bfee RC |
55 | #define DEFWIDTH 132 |
56 | #define DEFLENGTH 66 | |
c249bc99 | 57 | #define DEFUID 1 |
c5873777 | 58 | |
c5873777 BJ |
59 | /* |
60 | * When files are created in the spooling area, they are normally | |
61 | * readable only by their owner and the spooling group. If you | |
62 | * want otherwise, change this mode. | |
63 | */ | |
64 | #define FILMOD 0660 | |
65 | ||
c5873777 BJ |
66 | /* |
67 | * Printer is assumed to support LINELEN (for block chars) | |
68 | * and background character (blank) is a space | |
69 | */ | |
70 | #define LINELEN 132 | |
71 | #define BACKGND ' ' | |
72 | ||
73 | #define HEIGHT 9 /* height of characters */ | |
74 | #define WIDTH 8 /* width of characters */ | |
75 | #define DROP 3 /* offset to drop characters with descenders */ | |
dfc1084e | 76 | |
8fed920b | 77 | /* |
c0297f12 | 78 | * path name of files created by lpd. |
8fed920b | 79 | */ |
c0297f12 | 80 | #define MASTERLOCK "/usr/spool/lpd.lock" |
8fed920b RC |
81 | #define SOCKETNAME "/dev/printer" |
82 | ||
dfc1084e RC |
83 | /* |
84 | * Some utilities used by printjob. | |
85 | */ | |
86 | #define PR "/bin/pr" | |
87 | #define MAIL "/usr/lib/sendmail" | |
88 | ||
89 | /* | |
90 | * Define TERMCAP if the terminal capabilites are to be used for lpq. | |
91 | */ | |
92 | #define TERMCAP | |
93 | ||
94 | /* | |
95 | * Maximum number of user and job requests for lpq and lprm. | |
96 | */ | |
97 | #define MAXUSERS 50 | |
98 | #define MAXREQUESTS 50 |