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.6 (Berkeley) 03/15/92 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 <sys/types.h> 20 #include <a.out.h> 21 #include <ar.h> 22 23 #ifndef A_MAGIC1 /* must be a VM/UNIX system */ 24 # define A_MAGIC1 OMAGIC 25 # define A_MAGIC2 NMAGIC 26 # define A_MAGIC3 ZMAGIC 27 # undef ARMAG 28 # define ARMAG 0177545 29 #endif 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 DEFMX 1000 38 #define DEFMAXCOPIES 0 39 #define DEFFF "\f" 40 #define DEFWIDTH 132 41 #define DEFLENGTH 66 42 #define DEFUID 1 43 44 /* 45 * When files are created in the spooling area, they are normally 46 * readable only by their owner and the spooling group. If you 47 * want otherwise, change this mode. 48 */ 49 #define FILMOD 0660 50 51 /* 52 * Printer is assumed to support LINELEN (for block chars) 53 * and background character (blank) is a space 54 */ 55 #define LINELEN 132 56 #define BACKGND ' ' 57 58 #define HEIGHT 9 /* height of characters */ 59 #define WIDTH 8 /* width of characters */ 60 #define DROP 3 /* offset to drop characters with descenders */ 61 62 /* 63 * Define TERMCAP if the terminal capabilites are to be used for lpq. 64 */ 65 #define TERMCAP 66 67 /* 68 * Maximum number of user and job requests for lpq and lprm. 69 */ 70 #define MAXUSERS 50 71 #define MAXREQUESTS 50 72