1 /* 2 * Copyright (c) 1983 Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)lp.local.h 5.5 (Berkeley) 06/01/90 8 */ 9 10 /* 11 * Possibly, local parameters to the spooling system 12 */ 13 14 /* 15 * Magic number mapping for binary files, used by lpr to avoid 16 * printing objects files. 17 */ 18 19 #include <a.out.h> 20 #include <ar.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 # undef ARMAG 27 # define ARMAG 0177545 28 #endif 29 30 /* 31 * Defaults for line printer capabilities data base 32 */ 33 #define DEFLP "lp" 34 #define DEFLOCK "lock" 35 #define DEFSTAT "status" 36 #define DEFMX 1000 37 #define DEFMAXCOPIES 0 38 #define DEFFF "\f" 39 #define DEFWIDTH 132 40 #define DEFLENGTH 66 41 #define DEFUID 1 42 43 /* 44 * When files are created in the spooling area, they are normally 45 * readable only by their owner and the spooling group. If you 46 * want otherwise, change this mode. 47 */ 48 #define FILMOD 0660 49 50 /* 51 * Printer is assumed to support LINELEN (for block chars) 52 * and background character (blank) is a space 53 */ 54 #define LINELEN 132 55 #define BACKGND ' ' 56 57 #define HEIGHT 9 /* height of characters */ 58 #define WIDTH 8 /* width of characters */ 59 #define DROP 3 /* offset to drop characters with descenders */ 60 61 /* 62 * Define TERMCAP if the terminal capabilites are to be used for lpq. 63 */ 64 #define TERMCAP 65 66 /* 67 * Maximum number of user and job requests for lpq and lprm. 68 */ 69 #define MAXUSERS 50 70 #define MAXREQUESTS 50 71