/********************************************************************** * Copyright (c) Digital Equipment Corporation 1984, 1985, 1986. * * All Rights Reserved. * * Reference "/usr/src/COPYRIGHT" for applicable restrictions. * **********************************************************************/ /* Sccsid: "@(#)lp.local.h 3.0 4/21/86" */ /* 2.9BSD lp.local.h 1.2 81/09/04 */ /* * Possibly, local parameters to the spooling system */ /* * Magic number mapping for binary files, used by lpr to avoid * printing objects files. */ #include <a.out.h> #include <ar.h> #include <whoami.h> #ifndef A_MAGIC1 /* must be a VM/UNIX system */ # define A_MAGIC1 OMAGIC # define A_MAGIC2 NMAGIC # define A_MAGIC3 ZMAGIC # undef ARMAG # define ARMAG 0177545 #endif /* * Defaults for line printer capabilities data base */ #define NAPTIME 10 #define DEFLP "lp" #define DEFLOCK "lock" #define DEFSPOOL "/usr/spool/lpd" #define DEFMX 1000 #define DEFLOGF "/dev/console" #define DEFFF "\f" #define DEFDAEMON "/usr/lib/lpd" #define DEFDEVLP "/dev/lp" #define DEFUID 0 #define DEFLINELEN 132 #define DEFPAGESIZE 66 #define DEFSPEED 9600 #define DEFACCOUNTFILE "/usr/adm/lpacct" #define DEFFA 0 #ifndef BUFSIZ #define BUFSIZ 512 #endif /* * Some utilities used by lpd */ #define PRLOC "/bin/pr" #define MAIL "/usr/ucb/mail" /* * When files are created in the spooling area, they are normally * readable only by their owner and the spooling group. If you * want otherwise, change this mode. */ #define FILMOD 0660 /* * We choose not to include this from <sys/param.h> */ #define NOFILE 20 /* * Printer is assumed to support LINELEN (for block chars) * and background character (blank) is a space */ #define LINELEN 132 #define BACKGND ' ' #define HEIGHT 9 /* height of characters */ #define WIDTH 8 /* width of characters */ #define DROP 3 /* offset to drop characters with descenders */ /* * Does lpd driver give a form feed on first open? If so, set TOF to 1 * to save one page. */ #define TOF 0