1*13441Sralph /*	lp.local.h	4.3	83/06/29	*/
23680Sroot /*
33680Sroot  * Possibly, local parameters to the spooling system
43680Sroot  */
53680Sroot 
63680Sroot /*
73680Sroot  * Magic number mapping for binary files, used by lpr to avoid
83680Sroot  *   printing objects files.
93680Sroot  */
103680Sroot 
113680Sroot #include <a.out.h>
123680Sroot #include <ar.h>
133680Sroot 
143680Sroot #ifndef A_MAGIC1	/* must be a VM/UNIX system */
153680Sroot #	define A_MAGIC1	OMAGIC
163680Sroot #	define A_MAGIC2	NMAGIC
173680Sroot #	define A_MAGIC3	ZMAGIC
183680Sroot #	undef ARMAG
193680Sroot #	define ARMAG	0177545
203680Sroot #endif
213680Sroot 
223680Sroot /*
233680Sroot  * Defaults for line printer capabilities data base
243680Sroot  */
253680Sroot #define	DEFLP		"lp"
263680Sroot #define DEFLOCK		"lock"
2710190Sralph #define DEFSTAT		"status"
283680Sroot #define	DEFSPOOL	"/usr/spool/lpd"
2910149Sroot #define	DEFDAEMON	"/usr/lib/lpd"
3010149Sroot #define	DEFLOGF		"/dev/console"
3110149Sroot #define	DEFDEVLP	"/dev/lp"
3210149Sroot #define DEFRLPR		"/usr/lib/rlpr"
3310149Sroot #define DEFBINDIR	"/usr/ucb"
343680Sroot #define	DEFMX		1000
3513170Sralph #define DEFMAXCOPIES	0
363680Sroot #define DEFFF		"\f"
3710863Sralph #define DEFWIDTH	132
3810863Sralph #define DEFLENGTH	66
3910190Sralph #define DEFUID		1
403680Sroot 
413680Sroot /*
423680Sroot  * When files are created in the spooling area, they are normally
433680Sroot  *   readable only by their owner and the spooling group.  If you
443680Sroot  *   want otherwise, change this mode.
453680Sroot  */
463680Sroot #define FILMOD		0660
473680Sroot 
483680Sroot /*
493680Sroot  * We choose not to include this from <sys/param.h>
503680Sroot  */
513680Sroot #define NOFILE		20
523680Sroot 
533680Sroot /*
543680Sroot  * Printer is assumed to support LINELEN (for block chars)
553680Sroot  *   and background character (blank) is a space
563680Sroot  */
573680Sroot #define LINELEN		132
583680Sroot #define BACKGND		' '
593680Sroot 
603680Sroot #define HEIGHT	9		/* height of characters */
613680Sroot #define WIDTH	8		/* width of characters */
623680Sroot #define DROP	3		/* offset to drop characters with descenders */
6312126Sralph 
6412126Sralph /*
65*13441Sralph  * path name of socket created by lpd.
66*13441Sralph  */
67*13441Sralph #define SOCKETNAME "/dev/printer"
68*13441Sralph 
69*13441Sralph /*
7012126Sralph  * Some utilities used by printjob.
7112126Sralph  */
7212126Sralph #define PR		"/bin/pr"
7312126Sralph #define MAIL		"/usr/lib/sendmail"
7412126Sralph 
7512126Sralph /*
7612126Sralph  * Define TERMCAP if the terminal capabilites are to be used for lpq.
7712126Sralph  */
7812126Sralph #define TERMCAP
7912126Sralph 
8012126Sralph /*
8112126Sralph  * Maximum number of user and job requests for lpq and lprm.
8212126Sralph  */
8312126Sralph #define MAXUSERS	50
8412126Sralph #define MAXREQUESTS	50
85