Commit | Line | Data |
---|---|---|
fdaeefb7 | 1 | /* lp.local.h 1.4 83/01/05 */ |
c5873777 BJ |
2 | /* |
3 | * Possibly, local parameters to the spooling system | |
4 | */ | |
5 | ||
6 | /* | |
7 | * Magic number mapping for binary files, used by lpr to avoid | |
8 | * printing objects files. | |
9 | */ | |
10 | ||
11 | #include <a.out.h> | |
12 | #include <ar.h> | |
13 | ||
14 | #ifndef A_MAGIC1 /* must be a VM/UNIX system */ | |
15 | # define A_MAGIC1 OMAGIC | |
16 | # define A_MAGIC2 NMAGIC | |
17 | # define A_MAGIC3 ZMAGIC | |
18 | # undef ARMAG | |
19 | # define ARMAG 0177545 | |
20 | #endif | |
21 | ||
22 | /* | |
23 | * Defaults for line printer capabilities data base | |
24 | */ | |
25 | #define DEFLP "lp" | |
26 | #define DEFLOCK "lock" | |
c249bc99 | 27 | #define DEFSTAT "status" |
c5873777 | 28 | #define DEFSPOOL "/usr/spool/lpd" |
c5873777 | 29 | #define DEFDAEMON "/usr/lib/lpd" |
fdaeefb7 | 30 | #define DEFLOGF "/dev/console" |
c5873777 | 31 | #define DEFDEVLP "/dev/lp" |
fdaeefb7 BJ |
32 | #define DEFRLPR "/usr/lib/rlpr" |
33 | #define DEFBINDIR "/usr/ucb" | |
34 | #define DEFMX 1000 | |
35 | #define DEFFF "\f" | |
8f85bfee RC |
36 | #define DEFWIDTH 132 |
37 | #define DEFLENGTH 66 | |
c249bc99 | 38 | #define DEFUID 1 |
c5873777 | 39 | |
c5873777 BJ |
40 | /* |
41 | * When files are created in the spooling area, they are normally | |
42 | * readable only by their owner and the spooling group. If you | |
43 | * want otherwise, change this mode. | |
44 | */ | |
45 | #define FILMOD 0660 | |
46 | ||
47 | /* | |
48 | * We choose not to include this from <sys/param.h> | |
49 | */ | |
50 | #define NOFILE 20 | |
51 | ||
52 | /* | |
53 | * Printer is assumed to support LINELEN (for block chars) | |
54 | * and background character (blank) is a space | |
55 | */ | |
56 | #define LINELEN 132 | |
57 | #define BACKGND ' ' | |
58 | ||
59 | #define HEIGHT 9 /* height of characters */ | |
60 | #define WIDTH 8 /* width of characters */ | |
61 | #define DROP 3 /* offset to drop characters with descenders */ |