1 /*
2  * Copyright (c) 1983 Regents of the University of California.
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms are permitted
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.
16  *
17  *	@(#)lp.local.h	5.4 (Berkeley) 05/11/89
18  */
19 
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"
45 #define DEFSTAT		"status"
46 #define	DEFMX		1000
47 #define DEFMAXCOPIES	0
48 #define DEFFF		"\f"
49 #define DEFWIDTH	132
50 #define DEFLENGTH	66
51 #define DEFUID		1
52 
53 /*
54  * When files are created in the spooling area, they are normally
55  *   readable only by their owner and the spooling group.  If you
56  *   want otherwise, change this mode.
57  */
58 #define FILMOD		0660
59 
60 /*
61  * Printer is assumed to support LINELEN (for block chars)
62  *   and background character (blank) is a space
63  */
64 #define LINELEN		132
65 #define BACKGND		' '
66 
67 #define HEIGHT	9		/* height of characters */
68 #define WIDTH	8		/* width of characters */
69 #define DROP	3		/* offset to drop characters with descenders */
70 
71 /*
72  * Define TERMCAP if the terminal capabilites are to be used for lpq.
73  */
74 #define TERMCAP
75 
76 /*
77  * Maximum number of user and job requests for lpq and lprm.
78  */
79 #define MAXUSERS	50
80 #define MAXREQUESTS	50
81