11553Srgrimes/*
21553Srgrimes * Copyright (c) 1983, 1993
31553Srgrimes *	The Regents of the University of California.  All rights reserved.
41553Srgrimes *
51553Srgrimes * Redistribution and use in source and binary forms, with or without
61553Srgrimes * modification, are permitted provided that the following conditions
71553Srgrimes * are met:
81553Srgrimes * 1. Redistributions of source code must retain the above copyright
91553Srgrimes *    notice, this list of conditions and the following disclaimer.
101553Srgrimes * 2. Redistributions in binary form must reproduce the above copyright
111553Srgrimes *    notice, this list of conditions and the following disclaimer in the
121553Srgrimes *    documentation and/or other materials provided with the distribution.
131553Srgrimes * 4. Neither the name of the University nor the names of its contributors
141553Srgrimes *    may be used to endorse or promote products derived from this software
151553Srgrimes *    without specific prior written permission.
161553Srgrimes *
171553Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
181553Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
191553Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
201553Srgrimes * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
211553Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
221553Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
231553Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
241553Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
251553Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
261553Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
271553Srgrimes * SUCH DAMAGE.
281553Srgrimes *
29118288Sgad *	@(#)lp.local.h	8.1 (Berkeley) 6/6/93
30112701Seivind * $FreeBSD$
311553Srgrimes */
321553Srgrimes
331553Srgrimes/*
341553Srgrimes * Possibly, local parameters to the spooling system
351553Srgrimes */
361553Srgrimes
371553Srgrimes/*
381553Srgrimes * Defaults for line printer capabilities data base
391553Srgrimes */
401553Srgrimes#define	DEFLP		"lp"
411553Srgrimes#define DEFLOCK		"lock"
421553Srgrimes#define DEFSTAT		"status"
43112701Seivind#define	DEFMX		0
441553Srgrimes#define DEFMAXCOPIES	0
451553Srgrimes#define DEFFF		"\f"
461553Srgrimes#define DEFWIDTH	132
471553Srgrimes#define DEFLENGTH	66
481553Srgrimes#define DEFUID		1
4930407Sjoerg#define DEFTIMEOUT	120
501553Srgrimes
511553Srgrimes/*
521553Srgrimes * When files are created in the spooling area, they are normally
531553Srgrimes *   readable only by their owner and the spooling group.  If you
541553Srgrimes *   want otherwise, change this mode.
551553Srgrimes */
561553Srgrimes#define FILMOD		0660
571553Srgrimes
581553Srgrimes/*
591553Srgrimes * Printer is assumed to support LINELEN (for block chars)
601553Srgrimes *   and background character (blank) is a space
611553Srgrimes */
621553Srgrimes#define LINELEN		132
631553Srgrimes#define BACKGND		' '
641553Srgrimes
651553Srgrimes#define HEIGHT	9		/* height of characters */
661553Srgrimes#define WIDTH	8		/* width of characters */
671553Srgrimes#define DROP	3		/* offset to drop characters with descenders */
681553Srgrimes
691553Srgrimes/*
701553Srgrimes * Define TERMCAP if the terminal capabilites are to be used for lpq.
711553Srgrimes */
721553Srgrimes#define TERMCAP
731553Srgrimes
741553Srgrimes/*
751553Srgrimes * Maximum number of user and job requests for lpq and lprm.
761553Srgrimes */
771553Srgrimes#define MAXUSERS	50
781553Srgrimes#define MAXREQUESTS	50
79