Annotation of 43BSDReno/usr.sbin/lpr/common_source/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 provided
        !             6:  * that: (1) source distributions retain this entire copyright notice and
        !             7:  * comment, and (2) distributions including binaries display the following
        !             8:  * acknowledgement:  ``This product includes software developed by the
        !             9:  * University of California, Berkeley and its contributors'' in the
        !            10:  * documentation or other materials provided with the distribution and in
        !            11:  * all advertising materials mentioning features or use of this software.
        !            12:  * Neither the name of the University nor the names of its contributors may
        !            13:  * be used to endorse or promote products derived from this software without
        !            14:  * specific prior written permission.
        !            15:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            16:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            17:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            18:  *
        !            19:  *     @(#)lp.local.h  5.5 (Berkeley) 6/1/90
        !            20:  */
        !            21: 
        !            22: /*
        !            23:  * Possibly, local parameters to the spooling system
        !            24:  */
        !            25: 
        !            26: /*
        !            27:  * Magic number mapping for binary files, used by lpr to avoid
        !            28:  *   printing objects files.
        !            29:  */
        !            30: 
        !            31: #include <a.out.h>
        !            32: #include <ar.h>
        !            33: 
        !            34: #ifndef A_MAGIC1       /* must be a VM/UNIX system */
        !            35: #      define A_MAGIC1 OMAGIC
        !            36: #      define A_MAGIC2 NMAGIC
        !            37: #      define A_MAGIC3 ZMAGIC
        !            38: #      undef ARMAG
        !            39: #      define ARMAG    0177545
        !            40: #endif
        !            41: 
        !            42: /*
        !            43:  * Defaults for line printer capabilities data base
        !            44:  */
        !            45: #define        DEFLP           "lp"
        !            46: #define DEFLOCK                "lock"
        !            47: #define DEFSTAT                "status"
        !            48: #define        DEFMX           1000
        !            49: #define DEFMAXCOPIES   0
        !            50: #define DEFFF          "\f"
        !            51: #define DEFWIDTH       132
        !            52: #define DEFLENGTH      66
        !            53: #define DEFUID         1
        !            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:  * Printer is assumed to support LINELEN (for block chars)
        !            64:  *   and background character (blank) is a space
        !            65:  */
        !            66: #define LINELEN                132
        !            67: #define BACKGND                ' '
        !            68: 
        !            69: #define HEIGHT 9               /* height of characters */
        !            70: #define WIDTH  8               /* width of characters */
        !            71: #define DROP   3               /* offset to drop characters with descenders */
        !            72: 
        !            73: /*
        !            74:  * Define TERMCAP if the terminal capabilites are to be used for lpq.
        !            75:  */
        !            76: #define TERMCAP
        !            77: 
        !            78: /*
        !            79:  * Maximum number of user and job requests for lpq and lprm.
        !            80:  */
        !            81: #define MAXUSERS       50
        !            82: #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.