13680Sroot /*
2*22442Sdist  * Copyright (c) 1983 Regents of the University of California.
3*22442Sdist  * All rights reserved.  The Berkeley software License Agreement
4*22442Sdist  * specifies the terms and conditions for redistribution.
5*22442Sdist  *
6*22442Sdist  *	@(#)lp.local.h	5.1 (Berkeley) 06/06/85
7*22442Sdist  */
8*22442Sdist 
9*22442Sdist /*
103680Sroot  * Possibly, local parameters to the spooling system
113680Sroot  */
123680Sroot 
133680Sroot /*
143680Sroot  * Magic number mapping for binary files, used by lpr to avoid
153680Sroot  *   printing objects files.
163680Sroot  */
173680Sroot 
183680Sroot #include <a.out.h>
193680Sroot #include <ar.h>
203680Sroot 
213680Sroot #ifndef A_MAGIC1	/* must be a VM/UNIX system */
223680Sroot #	define A_MAGIC1	OMAGIC
233680Sroot #	define A_MAGIC2	NMAGIC
243680Sroot #	define A_MAGIC3	ZMAGIC
253680Sroot #	undef ARMAG
263680Sroot #	define ARMAG	0177545
273680Sroot #endif
283680Sroot 
293680Sroot /*
303680Sroot  * Defaults for line printer capabilities data base
313680Sroot  */
323680Sroot #define	DEFLP		"lp"
333680Sroot #define DEFLOCK		"lock"
3410190Sralph #define DEFSTAT		"status"
353680Sroot #define	DEFSPOOL	"/usr/spool/lpd"
3610149Sroot #define	DEFDAEMON	"/usr/lib/lpd"
3710149Sroot #define	DEFLOGF		"/dev/console"
3810149Sroot #define	DEFDEVLP	"/dev/lp"
3910149Sroot #define DEFRLPR		"/usr/lib/rlpr"
4010149Sroot #define DEFBINDIR	"/usr/ucb"
413680Sroot #define	DEFMX		1000
4213170Sralph #define DEFMAXCOPIES	0
433680Sroot #define DEFFF		"\f"
4410863Sralph #define DEFWIDTH	132
4510863Sralph #define DEFLENGTH	66
4610190Sralph #define DEFUID		1
473680Sroot 
483680Sroot /*
493680Sroot  * When files are created in the spooling area, they are normally
503680Sroot  *   readable only by their owner and the spooling group.  If you
513680Sroot  *   want otherwise, change this mode.
523680Sroot  */
533680Sroot #define FILMOD		0660
543680Sroot 
553680Sroot /*
563680Sroot  * Printer is assumed to support LINELEN (for block chars)
573680Sroot  *   and background character (blank) is a space
583680Sroot  */
593680Sroot #define LINELEN		132
603680Sroot #define BACKGND		' '
613680Sroot 
623680Sroot #define HEIGHT	9		/* height of characters */
633680Sroot #define WIDTH	8		/* width of characters */
643680Sroot #define DROP	3		/* offset to drop characters with descenders */
6512126Sralph 
6612126Sralph /*
6714837Sralph  * path name of files created by lpd.
6813441Sralph  */
6914837Sralph #define MASTERLOCK "/usr/spool/lpd.lock"
7013441Sralph #define SOCKETNAME "/dev/printer"
7113441Sralph 
7213441Sralph /*
7312126Sralph  * Some utilities used by printjob.
7412126Sralph  */
7512126Sralph #define PR		"/bin/pr"
7612126Sralph #define MAIL		"/usr/lib/sendmail"
7712126Sralph 
7812126Sralph /*
7912126Sralph  * Define TERMCAP if the terminal capabilites are to be used for lpq.
8012126Sralph  */
8112126Sralph #define TERMCAP
8212126Sralph 
8312126Sralph /*
8412126Sralph  * Maximum number of user and job requests for lpq and lprm.
8512126Sralph  */
8612126Sralph #define MAXUSERS	50
8712126Sralph #define MAXREQUESTS	50
88