Eneboo - Documentación para desarrolladores
src/posprinter/lpr/common_source/lp.local.h
Ir a la documentación de este archivo.
00001 /*      $OpenBSD: lp.local.h,v 1.4 2003/06/02 23:36:53 millert Exp $    */
00002 
00003 /*
00004  * Copyright (c) 1983, 1993
00005  *      The Regents of the University of California.  All rights reserved.
00006  *
00007  * Redistribution and use in source and binary forms, with or without
00008  * modification, are permitted provided that the following conditions
00009  * are met:
00010  * 1. Redistributions of source code must retain the above copyright
00011  *    notice, this list of conditions and the following disclaimer.
00012  * 2. Redistributions in binary form must reproduce the above copyright
00013  *    notice, this list of conditions and the following disclaimer in the
00014  *    documentation and/or other materials provided with the distribution.
00015  * 3. Neither the name of the University nor the names of its contributors
00016  *    may be used to endorse or promote products derived from this software
00017  *    without specific prior written permission.
00018  *
00019  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
00020  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00021  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00022  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
00023  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00024  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
00025  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
00026  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00027  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
00028  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00029  * SUCH DAMAGE.
00030  *
00031  *      @(#)lp.local.h  8.1 (Berkeley) 6/6/93
00032  */
00033 
00034 /*
00035  * Possibly, local parameters to the spooling system
00036  */
00037 
00038 /*
00039  * Defaults for line printer capabilities data base
00040  */
00041 #define DEFLP           "lp"
00042 #define DEFLOCK         "lock"
00043 #define DEFSTAT         "status"
00044 #define DEFMX           0
00045 #define DEFMAXCOPIES    0
00046 #define DEFFF           "\f"
00047 #define DEFWIDTH        132
00048 #define DEFLENGTH       66
00049 #define DEFUID          "lp"
00050 #define DEFNUID         lprGetUID()
00051 
00052 /*
00053  * When files are created in the spooling area, they are normally
00054  *   readable only by their owner and the spooling group.  If you
00055  *   want otherwise, change this mode.
00056  */
00057 #define FILMOD          0660
00058 
00059 /*
00060  * Printer is assumed to support LINELEN (for block chars)
00061  *   and background character (blank) is a space
00062  */
00063 #define LINELEN         132
00064 #define BACKGND         ' '
00065 
00066 #define HEIGHT  9               /* height of characters */
00067 #define WIDTH   8               /* width of characters */
00068 #define DROP    3               /* offset to drop characters with descenders */
00069 
00070 /*
00071  * Define TERMCAP if the terminal capabilites are to be used for lpq.
00072  */
00073 #define TERMCAP
00074 
00075 /*
00076  * Maximum number of user and job requests for lpq and lprm.
00077  */
00078 #define MAXUSERS        50
00079 #define MAXREQUESTS     50
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'