1*3680Sroot /* lp.local.h 1.1 81/05/09 */ 2*3680Sroot /* 3*3680Sroot * Possibly, local parameters to the spooling system 4*3680Sroot */ 5*3680Sroot 6*3680Sroot /* 7*3680Sroot * Magic number mapping for binary files, used by lpr to avoid 8*3680Sroot * printing objects files. 9*3680Sroot */ 10*3680Sroot 11*3680Sroot #include <a.out.h> 12*3680Sroot #include <ar.h> 13*3680Sroot 14*3680Sroot #ifndef A_MAGIC1 /* must be a VM/UNIX system */ 15*3680Sroot # define A_MAGIC1 OMAGIC 16*3680Sroot # define A_MAGIC2 NMAGIC 17*3680Sroot # define A_MAGIC3 ZMAGIC 18*3680Sroot # undef ARMAG 19*3680Sroot # define ARMAG 0177545 20*3680Sroot #endif 21*3680Sroot 22*3680Sroot /* 23*3680Sroot * Defaults for line printer capabilities data base 24*3680Sroot */ 25*3680Sroot #define DEFLP "lp" 26*3680Sroot #define DEFLOCK "lock" 27*3680Sroot #define DEFSPOOL "/usr/spool/lpd" 28*3680Sroot #define DEFMX 1000 29*3680Sroot #define DEFLOGF "/dev/console" 30*3680Sroot #define DEFFF "\f" 31*3680Sroot #define DEFDAEMON "/usr/lib/lpd" 32*3680Sroot #define DEFDEVLP "/dev/lp" 33*3680Sroot #define DEFUID 1 34*3680Sroot 35*3680Sroot /* 36*3680Sroot * The system name is normally imported from <whoami.h>, 37*3680Sroot * change it here if you want someting special on the JOB line 38*3680Sroot * of the burst page. 39*3680Sroot */ 40*3680Sroot 41*3680Sroot #ifdef SYTEK 42*3680Sroot # define SYSTEM_NAME "Sytek VAX/UNIX" 43*3680Sroot #else 44*3680Sroot #include <whoami.h> 45*3680Sroot 46*3680Sroot # define SYSTEM_NAME sysname 47*3680Sroot #endif 48*3680Sroot 49*3680Sroot /* 50*3680Sroot * Some utilities used by lpd 51*3680Sroot */ 52*3680Sroot #define PRLOC "/bin/pr" 53*3680Sroot #define MAIL "/bin/mail" 54*3680Sroot 55*3680Sroot /* 56*3680Sroot * When files are created in the spooling area, they are normally 57*3680Sroot * readable only by their owner and the spooling group. If you 58*3680Sroot * want otherwise, change this mode. 59*3680Sroot */ 60*3680Sroot #define FILMOD 0660 61*3680Sroot 62*3680Sroot /* 63*3680Sroot * We choose not to include this from <sys/param.h> 64*3680Sroot */ 65*3680Sroot #define NOFILE 20 66*3680Sroot 67*3680Sroot /* 68*3680Sroot * Printer is assumed to support LINELEN (for block chars) 69*3680Sroot * and background character (blank) is a space 70*3680Sroot */ 71*3680Sroot #define LINELEN 132 72*3680Sroot #define BACKGND ' ' 73*3680Sroot 74*3680Sroot #define HEIGHT 9 /* height of characters */ 75*3680Sroot #define WIDTH 8 /* width of characters */ 76*3680Sroot #define DROP 3 /* offset to drop characters with descenders */ 77*3680Sroot 78