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: #include    <whoami.h>
  14: 
  15: #ifndef A_MAGIC1    /* must be a VM/UNIX system */
  16: #	define    A_MAGIC1    OMAGIC
  17: #	define    A_MAGIC2    NMAGIC
  18: #	define    A_MAGIC3    ZMAGIC
  19: #	undef ARMAG
  20: #	define    ARMAG   0177545
  21: #endif
  22: 
  23: /*
  24:  * Defaults for line printer capabilities data base
  25:  */
  26: #define NAPTIME     10
  27: #define DEFLP       "lp"
  28: #define DEFLOCK     "lock"
  29: #define DEFSPOOL    "/usr/spool/lpd"
  30: #define DEFMX       1000
  31: #define DEFLOGF     "/dev/console"
  32: #define DEFFF       "\f"
  33: #define DEFDAEMON   "/usr/lib/lpd"
  34: #define DEFDEVLP    "/dev/lp"
  35: #define DEFUID      1
  36: #define DEFLINELEN  132
  37: #define DEFPAGESIZE 66
  38: #define DEFSPEED    9600
  39: #define DEFACCOUNTFILE  "/usr/adm/lpacct"
  40: #define DEFFA       0
  41: #define BUFSIZ      1024
  42: 
  43: /*
  44:  * Some utilities used by lpd
  45:  */
  46: #define PRLOC       "/usr/bin/pr"
  47: #define MAIL        "/bin/mail"
  48: 
  49: /*
  50:  * When files are created in the spooling area, they are normally
  51:  *   readable only by their owner and the spooling group.  If you
  52:  *   want otherwise, change this mode.
  53:  */
  54: #define FILMOD      0660
  55: 
  56: /*
  57:  * We choose not to include this from <sys/param.h>
  58:  */
  59: #define NOFILE      20
  60: 
  61: /*
  62:  * Printer is assumed to support LINELEN (for block chars)
  63:  *   and background character (blank) is a space
  64:  */
  65: #define LINELEN     132
  66: #define BACKGND     ' '
  67: 
  68: #define HEIGHT  9       /* height of characters */
  69: #define WIDTH   8       /* width of characters */
  70: #define DROP    3       /* offset to drop characters with descenders */
  71: 
  72: /*
  73:  * Does lpd driver give a form feed on first open?  If so, set TOF to 1
  74:  *  to save one page.
  75:  */
  76: #define TOF 1

Defined macros

ARMAG defined in line 20; used 1 times
  • in line 19
A_MAGIC1 defined in line 16; used 1 times
  • in line 15
A_MAGIC2 defined in line 17; never used
A_MAGIC3 defined in line 18; never used
BACKGND defined in line 66; used 5 times
DEFACCOUNTFILE defined in line 39; used 1 times
DEFFA defined in line 40; never used
DEFFF defined in line 32; used 1 times
DEFLINELEN defined in line 36; used 1 times
DEFMX defined in line 30; used 1 times
DEFPAGESIZE defined in line 37; used 2 times
DEFSPEED defined in line 38; never used
DEFUID defined in line 35; used 2 times
DROP defined in line 70; used 3 times
FILMOD defined in line 54; used 1 times
HEIGHT defined in line 68; used 4 times
LINELEN defined in line 65; used 2 times
MAIL defined in line 47; used 1 times
NAPTIME defined in line 26; used 1 times
NOFILE defined in line 59; used 5 times
PRLOC defined in line 46; used 2 times
TOF defined in line 76; used 1 times
WIDTH defined in line 69; used 3 times

Usage of this include

Last modified: 1983-12-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 690
Valid CSS Valid XHTML 1.0 Strict