1 /* lp.local.h 1.2 81/09/04 */ 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 #define DEFUID 1 34 35 /* 36 * The system name is normally imported from <whoami.h>, 37 * change it here if you want someting special on the JOB line 38 * of the burst page. 39 */ 40 41 #ifdef SYTEK 42 # define SYSTEM_NAME "Sytek VAX/UNIX" 43 #else 44 #include <whoami.h> 45 46 # define SYSTEM_NAME sysname 47 #endif 48 49 /* 50 * Some utilities used by lpd 51 */ 52 #define PRLOC "/bin/pr" 53 #define MAIL "/bin/mail" 54 55 /* 56 * When files are created in the spooling area, they are normally 57 * readable only by their owner and the spooling group. If you 58 * want otherwise, change this mode. 59 */ 60 #define FILMOD 0660 61 62 /* 63 * We choose not to include this from <sys/param.h> 64 */ 65 #define NOFILE 20 66 67 /* 68 * Printer is assumed to support LINELEN (for block chars) 69 * and background character (blank) is a space 70 */ 71 #define LINELEN 132 72 #define BACKGND ' ' 73 74 #define HEIGHT 9 /* height of characters */ 75 #define WIDTH 8 /* width of characters */ 76 #define DROP 3 /* offset to drop characters with descenders */ 77 78 /* 79 * Does lpd driver give a form feed on first open? If so, set TOF to 1 80 * to save one page. 81 */ 82 #define TOF 1 83