1: /* lp.local.h 1.2 81/09/04 */
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: #include <whoami.h>
14:
15: #ifndef A_MAGIC1 /* must be a VM/UNIX system */
16: # define A_MAGIC1 OMAGIC
17: # define A_MAGIC2 NMAGIC
18: # define A_MAGIC3 ZMAGIC
19: # undef ARMAG
20: # define ARMAG 0177545
21: #endif
22:
23: /*
24: * Defaults for line printer capabilities data base
25: */
26: #define NAPTIME 10
27: #define DEFLP "lp"
28: #define DEFLOCK "lock"
29: #define DEFSPOOL "/usr/spool/lpd"
30: #define DEFMX 1000
31: #define DEFLOGF "/dev/console"
32: #define DEFFF "\f"
33: #define DEFDAEMON "/usr/lib/lpd"
34: #define DEFDEVLP "/dev/lp"
35: #define DEFUID 1
36: #define DEFLINELEN 132
37: #define DEFPAGESIZE 66
38: #define DEFSPEED 9600
39: #define DEFACCOUNTFILE "/usr/adm/lpacct"
40: #define DEFFA 0
41: #define BUFSIZ 1024
42:
43: /*
44: * Some utilities used by lpd
45: */
46: #define PRLOC "/usr/bin/pr"
47: #define MAIL "/bin/mail"
48:
49: /*
50: * When files are created in the spooling area, they are normally
51: * readable only by their owner and the spooling group. If you
52: * want otherwise, change this mode.
53: */
54: #define FILMOD 0660
55:
56: /*
57: * We choose not to include this from <sys/param.h>
58: */
59: #define NOFILE 20
60:
61: /*
62: * Printer is assumed to support LINELEN (for block chars)
63: * and background character (blank) is a space
64: */
65: #define LINELEN 132
66: #define BACKGND ' '
67:
68: #define HEIGHT 9 /* height of characters */
69: #define WIDTH 8 /* width of characters */
70: #define DROP 3 /* offset to drop characters with descenders */
71:
72: /*
73: * Does lpd driver give a form feed on first open? If so, set TOF to 1
74: * to save one page.
75: */
76: #define TOF 1
Defined macros
ARMAG
defined in line
20; used 1 times
BUFSIZ
defined in line
41; used 17 times
DEFFA
defined in line
40;
never used
DEFFF
defined in line
32; used 1 times
DEFLP
defined in line
27; used 3 times
DEFMX
defined in line
30; used 1 times
DROP
defined in line
70; used 3 times
MAIL
defined in line
47; used 1 times
PRLOC
defined in line
46; used 2 times
TOF
defined in line
76; used 1 times
WIDTH
defined in line
69; used 3 times
Usage of this include