Annotation of 43BSDTahoe/usr.lib/lpr/lp.local.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1983 Regents of the University of California.
        !             3:  * All rights reserved.
        !             4:  *
        !             5:  * Redistribution and use in source and binary forms are permitted
        !             6:  * provided that the above copyright notice and this paragraph are
        !             7:  * duplicated in all such forms and that any documentation,
        !             8:  * advertising materials, and other materials related to such
        !             9:  * distribution and use acknowledge that the software was developed
        !            10:  * by the University of California, Berkeley.  The name of the
        !            11:  * University may not be used to endorse or promote products derived
        !            12:  * from this software without specific prior written permission.
        !            13:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
        !            14:  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
        !            15:  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            16:  *
        !            17:  *     @(#)lp.local.h  5.3 (Berkeley) 6/30/88
        !            18:  */
        !            19: 
        !            20: /*
        !            21:  * Possibly, local parameters to the spooling system
        !            22:  */
        !            23: 
        !            24: /*
        !            25:  * Magic number mapping for binary files, used by lpr to avoid
        !            26:  *   printing objects files.
        !            27:  */
        !            28: 
        !            29: #include <a.out.h>
        !            30: #include <ar.h>
        !            31: 
        !            32: #ifndef A_MAGIC1       /* must be a VM/UNIX system */
        !            33: #      define A_MAGIC1 OMAGIC
        !            34: #      define A_MAGIC2 NMAGIC
        !            35: #      define A_MAGIC3 ZMAGIC
        !            36: #      undef ARMAG
        !            37: #      define ARMAG    0177545
        !            38: #endif
        !            39: 
        !            40: /*
        !            41:  * Defaults for line printer capabilities data base
        !            42:  */
        !            43: #define        DEFLP           "lp"
        !            44: #define DEFLOCK                "lock"
        !            45: #define DEFSTAT                "status"
        !            46: #define        DEFSPOOL        "/usr/spool/lpd"
        !            47: #define        DEFDAEMON       "/usr/lib/lpd"
        !            48: #define        DEFLOGF         "/dev/console"
        !            49: #define        DEFDEVLP        "/dev/lp"
        !            50: #define DEFRLPR                "/usr/lib/rlpr"
        !            51: #define DEFBINDIR      "/usr/ucb"
        !            52: #define        DEFMX           1000
        !            53: #define DEFMAXCOPIES   0
        !            54: #define DEFFF          "\f"
        !            55: #define DEFWIDTH       132
        !            56: #define DEFLENGTH      66
        !            57: #define DEFUID         1
        !            58: 
        !            59: /*
        !            60:  * When files are created in the spooling area, they are normally
        !            61:  *   readable only by their owner and the spooling group.  If you
        !            62:  *   want otherwise, change this mode.
        !            63:  */
        !            64: #define FILMOD         0660
        !            65: 
        !            66: /*
        !            67:  * Printer is assumed to support LINELEN (for block chars)
        !            68:  *   and background character (blank) is a space
        !            69:  */
        !            70: #define LINELEN                132
        !            71: #define BACKGND                ' '
        !            72: 
        !            73: #define HEIGHT 9               /* height of characters */
        !            74: #define WIDTH  8               /* width of characters */
        !            75: #define DROP   3               /* offset to drop characters with descenders */
        !            76: 
        !            77: /*
        !            78:  * path name of files created by lpd.
        !            79:  */
        !            80: #define MASTERLOCK "/usr/spool/lpd.lock"
        !            81: #define SOCKETNAME "/dev/printer"
        !            82: 
        !            83: /*
        !            84:  * Some utilities used by printjob.
        !            85:  */
        !            86: #define PR             "/bin/pr"
        !            87: #define MAIL           "/usr/lib/sendmail"
        !            88: 
        !            89: /*
        !            90:  * Define TERMCAP if the terminal capabilites are to be used for lpq.
        !            91:  */
        !            92: #define TERMCAP
        !            93: 
        !            94: /*
        !            95:  * Maximum number of user and job requests for lpq and lprm.
        !            96:  */
        !            97: #define MAXUSERS       50
        !            98: #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.