119370Spst/*	$OpenBSD: lp.local.h,v 1.5 2022/12/28 21:30:17 jmc Exp $	*/
219370Spst
319370Spst/*
419370Spst * Copyright (c) 1983, 1993
519370Spst *	The Regents of the University of California.  All rights reserved.
619370Spst *
719370Spst * Redistribution and use in source and binary forms, with or without
819370Spst * modification, are permitted provided that the following conditions
919370Spst * are met:
1019370Spst * 1. Redistributions of source code must retain the above copyright
1119370Spst *    notice, this list of conditions and the following disclaimer.
1219370Spst * 2. Redistributions in binary form must reproduce the above copyright
1319370Spst *    notice, this list of conditions and the following disclaimer in the
1419370Spst *    documentation and/or other materials provided with the distribution.
1519370Spst * 3. Neither the name of the University nor the names of its contributors
1619370Spst *    may be used to endorse or promote products derived from this software
1719370Spst *    without specific prior written permission.
1819370Spst *
1919370Spst * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2019370Spst * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2119370Spst * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2219370Spst * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2319370Spst * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2419370Spst * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2519370Spst * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2619370Spst * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2719370Spst * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2819370Spst * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2919370Spst * SUCH DAMAGE.
3019370Spst *
3119370Spst *	@(#)lp.local.h	8.1 (Berkeley) 6/6/93
3219370Spst */
3319370Spst
3419370Spst/*
3519370Spst * Possibly, local parameters to the spooling system
3619370Spst */
3719370Spst
3819370Spst/*
3919370Spst * Defaults for line printer capabilities data base
4019370Spst */
4119370Spst#define	DEFLP		"lp"
4219370Spst#define DEFLOCK		"lock"
4319370Spst#define DEFSTAT		"status"
4419370Spst#define	DEFMX		0
4546283Sdfr#define DEFMAXCOPIES	0
4646283Sdfr#define DEFFF		"\f"
4719370Spst#define DEFWIDTH	132
4819370Spst#define DEFLENGTH	66
4919370Spst#define DEFUID		1
5019370Spst
5119370Spst/*
5219370Spst * When files are created in the spooling area, they are normally
5319370Spst *   readable only by their owner and the spooling group.  If you
5419370Spst *   want otherwise, change this mode.
5519370Spst */
5619370Spst#define FILMOD		0660
5746283Sdfr
5846283Sdfr/*
5919370Spst * Printer is assumed to support LINELEN (for block chars)
6046283Sdfr *   and background character (blank) is a space
6146283Sdfr */
6246283Sdfr#define LINELEN		132
6346283Sdfr#define BACKGND		' '
6446283Sdfr
6546283Sdfr#define HEIGHT	9		/* height of characters */
6646283Sdfr#define WIDTH	8		/* width of characters */
6746283Sdfr#define DROP	3		/* offset to drop characters with descenders */
6846283Sdfr
6946283Sdfr/*
7046283Sdfr * Define TERMCAP if the terminal capabilities are to be used for lpq.
7146283Sdfr */
7246283Sdfr#define TERMCAP
7346283Sdfr
7446283Sdfr/*
7546283Sdfr * Maximum number of user and job requests for lpq and lprm.
7646283Sdfr */
7746283Sdfr#define MAXUSERS	50
7846283Sdfr#define MAXREQUESTS	50
7946283Sdfr