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.2 (2.11BSD GTE) 1996/10/24
   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: #include <paths.h>
  21: 
  22: #ifndef A_MAGIC1    /* must be a VM/UNIX system */
  23: #	define A_MAGIC1   OMAGIC
  24: #	define A_MAGIC2   NMAGIC
  25: #	define A_MAGIC3   ZMAGIC
  26: #endif
  27: 
  28: #	undef ARMAG
  29: #	define ARMAG  0177545
  30: 
  31: /*
  32:  * Defaults for line printer capabilities data base
  33:  */
  34: #define DEFLP       "lp"
  35: #define DEFLOCK     "lock"
  36: #define DEFSTAT     "status"
  37: #define DEFSPOOL    "/usr/spool/lpd"
  38: #define DEFDAEMON   "/usr/sbin/lpd"
  39: #define DEFLOGF     "/dev/console"
  40: #define DEFDEVLP    "/dev/lp"
  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: 
  77: /*
  78:  * Define TERMCAP if the terminal capabilites are to be used for lpq.
  79:  */
  80: #define TERMCAP
  81: 
  82: /*
  83:  * Maximum number of user and job requests for lpq and lprm.
  84:  */
  85: #define MAXUSERS    50
  86: #define MAXREQUESTS 50

Defined macros

ARMAG defined in line 29; used 1 times
  • in line 28
A_MAGIC1 defined in line 23; used 1 times
  • in line 22
A_MAGIC2 defined in line 24; never used
A_MAGIC3 defined in line 25; never used
BACKGND defined in line 60; used 5 times
DEFDAEMON defined in line 38; never used
DEFFF defined in line 43; used 1 times
DEFLENGTH defined in line 45; used 1 times
DEFLOGF defined in line 39; used 2 times
DEFMAXCOPIES defined in line 42; used 1 times
DEFMX defined in line 41; used 1 times
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
MASTERLOCK defined in line 69; used 5 times
PR defined in line 75; used 3 times
TERMCAP defined in line 80; used 7 times
WIDTH defined in line 63; used 3 times

Usage of this include

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