1 /*	lp.local.h	4.1	83/04/29	*/
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"
27 #define DEFSTAT		"status"
28 #define	DEFSPOOL	"/usr/spool/lpd"
29 #define	DEFDAEMON	"/usr/lib/lpd"
30 #define	DEFLOGF		"/dev/console"
31 #define	DEFDEVLP	"/dev/lp"
32 #define DEFRLPR		"/usr/lib/rlpr"
33 #define DEFBINDIR	"/usr/ucb"
34 #define	DEFMX		1000
35 #define DEFFF		"\f"
36 #define DEFWIDTH	132
37 #define DEFLENGTH	66
38 #define DEFUID		1
39 
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 */
62 
63 /*
64  * Some utilities used by printjob.
65  */
66 #define PR		"/bin/pr"
67 #define MAIL		"/usr/lib/sendmail"
68 
69 /*
70  * Define TERMCAP if the terminal capabilites are to be used for lpq.
71  */
72 #define TERMCAP
73 
74 /*
75  * Maximum number of user and job requests for lpq and lprm.
76  */
77 #define MAXUSERS	50
78 #define MAXREQUESTS	50
79