13680Sroot /*
222442Sdist  * Copyright (c) 1983 Regents of the University of California.
3*34203Sbostic  * All rights reserved.
422442Sdist  *
5*34203Sbostic  * Redistribution and use in source and binary forms are permitted
6*34203Sbostic  * provided that this notice is preserved and that due credit is given
7*34203Sbostic  * to the University of California at Berkeley. The name of the University
8*34203Sbostic  * may not be used to endorse or promote products derived from this
9*34203Sbostic  * software without specific prior written permission. This software
10*34203Sbostic  * is provided ``as is'' without express or implied warranty.
11*34203Sbostic  *
12*34203Sbostic  *	@(#)lp.local.h	5.2 (Berkeley) 05/05/88
1322442Sdist  */
1422442Sdist 
1522442Sdist /*
163680Sroot  * Possibly, local parameters to the spooling system
173680Sroot  */
183680Sroot 
193680Sroot /*
203680Sroot  * Magic number mapping for binary files, used by lpr to avoid
213680Sroot  *   printing objects files.
223680Sroot  */
233680Sroot 
243680Sroot #include <a.out.h>
253680Sroot #include <ar.h>
263680Sroot 
273680Sroot #ifndef A_MAGIC1	/* must be a VM/UNIX system */
283680Sroot #	define A_MAGIC1	OMAGIC
293680Sroot #	define A_MAGIC2	NMAGIC
303680Sroot #	define A_MAGIC3	ZMAGIC
313680Sroot #	undef ARMAG
323680Sroot #	define ARMAG	0177545
333680Sroot #endif
343680Sroot 
353680Sroot /*
363680Sroot  * Defaults for line printer capabilities data base
373680Sroot  */
383680Sroot #define	DEFLP		"lp"
393680Sroot #define DEFLOCK		"lock"
4010190Sralph #define DEFSTAT		"status"
413680Sroot #define	DEFSPOOL	"/usr/spool/lpd"
4210149Sroot #define	DEFDAEMON	"/usr/lib/lpd"
4310149Sroot #define	DEFLOGF		"/dev/console"
4410149Sroot #define	DEFDEVLP	"/dev/lp"
4510149Sroot #define DEFRLPR		"/usr/lib/rlpr"
4610149Sroot #define DEFBINDIR	"/usr/ucb"
473680Sroot #define	DEFMX		1000
4813170Sralph #define DEFMAXCOPIES	0
493680Sroot #define DEFFF		"\f"
5010863Sralph #define DEFWIDTH	132
5110863Sralph #define DEFLENGTH	66
5210190Sralph #define DEFUID		1
533680Sroot 
543680Sroot /*
553680Sroot  * When files are created in the spooling area, they are normally
563680Sroot  *   readable only by their owner and the spooling group.  If you
573680Sroot  *   want otherwise, change this mode.
583680Sroot  */
593680Sroot #define FILMOD		0660
603680Sroot 
613680Sroot /*
623680Sroot  * Printer is assumed to support LINELEN (for block chars)
633680Sroot  *   and background character (blank) is a space
643680Sroot  */
653680Sroot #define LINELEN		132
663680Sroot #define BACKGND		' '
673680Sroot 
683680Sroot #define HEIGHT	9		/* height of characters */
693680Sroot #define WIDTH	8		/* width of characters */
703680Sroot #define DROP	3		/* offset to drop characters with descenders */
7112126Sralph 
7212126Sralph /*
7314837Sralph  * path name of files created by lpd.
7413441Sralph  */
7514837Sralph #define MASTERLOCK "/usr/spool/lpd.lock"
7613441Sralph #define SOCKETNAME "/dev/printer"
7713441Sralph 
7813441Sralph /*
7912126Sralph  * Some utilities used by printjob.
8012126Sralph  */
8112126Sralph #define PR		"/bin/pr"
8212126Sralph #define MAIL		"/usr/lib/sendmail"
8312126Sralph 
8412126Sralph /*
8512126Sralph  * Define TERMCAP if the terminal capabilites are to be used for lpq.
8612126Sralph  */
8712126Sralph #define TERMCAP
8812126Sralph 
8912126Sralph /*
9012126Sralph  * Maximum number of user and job requests for lpq and lprm.
9112126Sralph  */
9212126Sralph #define MAXUSERS	50
9312126Sralph #define MAXREQUESTS	50
94