Annotation of 42BSD/usr.lib/lpr/lp.local.h, revision 1.1.1.1

1.1       root        1: /*     lp.local.h      4.4     83/08/24        */
                      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 DEFSTAT                "status"
                     28: #define        DEFSPOOL        "/usr/spool/lpd"
                     29: #define        DEFDAEMON       "/usr/lib/lpd"
                     30: #define        DEFLOGF         "/dev/console"
                     31: #define        DEFDEVLP        "/dev/lp"
                     32: #define DEFRLPR                "/usr/lib/rlpr"
                     33: #define DEFBINDIR      "/usr/ucb"
                     34: #define        DEFMX           1000
                     35: #define DEFMAXCOPIES   0
                     36: #define DEFFF          "\f"
                     37: #define DEFWIDTH       132
                     38: #define DEFLENGTH      66
                     39: #define DEFUID         1
                     40: 
                     41: /*
                     42:  * When files are created in the spooling area, they are normally
                     43:  *   readable only by their owner and the spooling group.  If you
                     44:  *   want otherwise, change this mode.
                     45:  */
                     46: #define FILMOD         0660
                     47: 
                     48: /*
                     49:  * We choose not to include this from <sys/param.h>
                     50:  */
                     51: #define NOFILE         20
                     52: 
                     53: /*
                     54:  * Printer is assumed to support LINELEN (for block chars)
                     55:  *   and background character (blank) is a space
                     56:  */
                     57: #define LINELEN                132
                     58: #define BACKGND                ' '
                     59: 
                     60: #define HEIGHT 9               /* height of characters */
                     61: #define WIDTH  8               /* width of characters */
                     62: #define DROP   3               /* offset to drop characters with descenders */
                     63: 
                     64: /*
                     65:  * path name of files created by lpd.
                     66:  */
                     67: #define MASTERLOCK "/usr/spool/lpd.lock"
                     68: #define SOCKETNAME "/dev/printer"
                     69: 
                     70: /*
                     71:  * Some utilities used by printjob.
                     72:  */
                     73: #define PR             "/bin/pr"
                     74: #define MAIL           "/usr/lib/sendmail"
                     75: 
                     76: /*
                     77:  * Define TERMCAP if the terminal capabilites are to be used for lpq.
                     78:  */
                     79: #define TERMCAP
                     80: 
                     81: /*
                     82:  * Maximum number of user and job requests for lpq and lprm.
                     83:  */
                     84: #define MAXUSERS       50
                     85: #define MAXREQUESTS    50

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.