1 /* lp.local.h 1.3 82/12/02 */ 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 DEFSPOOL "/usr/spool/lpd" 28 #define DEFMX 1000 29 #define DEFLOGF "/dev/console" 30 #define DEFFF "\f" 31 #define DEFDAEMON "/usr/lib/lpd" 32 #define DEFDEVLP "/dev/lp" 33 34 /* 35 * Some utilities used by lpd 36 */ 37 #define PRLOC "/bin/pr" 38 #define MAIL "/bin/mail" 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 * Does lpd driver give a form feed on first open? If so, set TOF to 1 65 * to save one page. 66 */ 67 #define TOF 1 68