1: /*
   2:  * Copyright (c) 1983 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)lp.local.h	5.1 (Berkeley) 6/6/85
   7:  */
   8: 
   9: /*
  10:  * Possibly, local parameters to the spooling system
  11:  */
  12: 
  13: /*
  14:  * Magic number mapping for binary files, used by lpr to avoid
  15:  *   printing objects files.
  16:  */
  17: 
  18: #include <a.out.h>
  19: #include <ar.h>
  20: 
  21: #ifndef A_MAGIC1    /* must be a VM/UNIX system */
  22: #	define A_MAGIC1   OMAGIC
  23: #	define A_MAGIC2   NMAGIC
  24: #	define A_MAGIC3   ZMAGIC
  25: #	undef ARMAG
  26: #	define ARMAG  0177545
  27: #endif
  28: 
  29: /*
  30:  * Defaults for line printer capabilities data base
  31:  */
  32: #define DEFLP       "lp"
  33: #define DEFLOCK     "lock"
  34: #define DEFSTAT     "status"
  35: #define DEFSPOOL    "/usr/spool/lpd"
  36: #define DEFDAEMON   "/usr/lib/lpd"
  37: #define DEFLOGF     "/dev/console"
  38: #define DEFDEVLP    "/dev/lp"
  39: #define DEFRLPR     "/usr/lib/rlpr"
  40: #define DEFBINDIR   "/usr/ucb"
  41: #define DEFMX       1000
  42: #define DEFMAXCOPIES    0
  43: #define DEFFF       "\f"
  44: #define DEFWIDTH    132
  45: #define DEFLENGTH   66
  46: #define DEFUID      1
  47: 
  48: /*
  49:  * When files are created in the spooling area, they are normally
  50:  *   readable only by their owner and the spooling group.  If you
  51:  *   want otherwise, change this mode.
  52:  */
  53: #define FILMOD      0660
  54: 
  55: /*
  56:  * Printer is assumed to support LINELEN (for block chars)
  57:  *   and background character (blank) is a space
  58:  */
  59: #define LINELEN     132
  60: #define BACKGND     ' '
  61: 
  62: #define HEIGHT  9       /* height of characters */
  63: #define WIDTH   8       /* width of characters */
  64: #define DROP    3       /* offset to drop characters with descenders */
  65: 
  66: /*
  67:  * path name of files created by lpd.
  68:  */
  69: #define MASTERLOCK "/usr/spool/lpd.lock"
  70: #define SOCKETNAME "/dev/printer"
  71: 
  72: /*
  73:  * Some utilities used by printjob.
  74:  */
  75: #define PR      "/bin/pr"
  76: #define MAIL        "/usr/lib/sendmail"
  77: 
  78: /*
  79:  * Define TERMCAP if the terminal capabilites are to be used for lpq.
  80:  */
  81: #define TERMCAP
  82: 
  83: /*
  84:  * Maximum number of user and job requests for lpq and lprm.
  85:  */
  86: #define MAXUSERS    50
  87: #define MAXREQUESTS 50

Defined macros

ARMAG defined in line 26; used 1 times
  • in line 25
A_MAGIC1 defined in line 22; used 1 times
  • in line 21
A_MAGIC2 defined in line 23; never used
A_MAGIC3 defined in line 24; never used
BACKGND defined in line 60; used 5 times
DEFBINDIR defined in line 40; never used
DEFDAEMON defined in line 36; never used
DEFFF defined in line 43; used 1 times
DEFLENGTH defined in line 45; used 1 times
DEFLOGF defined in line 37; used 2 times
DEFMAXCOPIES defined in line 42; used 1 times
DEFMX defined in line 41; used 1 times
DEFRLPR defined in line 39; never used
DEFUID defined in line 46; used 2 times
DEFWIDTH defined in line 44; used 1 times
DROP defined in line 64; used 3 times
HEIGHT defined in line 62; used 4 times
LINELEN defined in line 59; used 1 times
MAIL defined in line 76; used 3 times
MASTERLOCK defined in line 69; used 4 times
PR defined in line 75; used 3 times
SOCKETNAME defined in line 70; used 4 times
TERMCAP defined in line 81; used 7 times
WIDTH defined in line 63; used 3 times

Usage of this include

Last modified: 1985-06-06
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 985
Valid CSS Valid XHTML 1.0 Strict