1 /* $OpenBSD: banner.h,v 1.3 2003/03/13 23:11:16 tedu Exp $ */ 2 /* $NetBSD: banner.h,v 1.2 1995/04/09 06:00:23 cgd Exp $ */ 3 4 /* 5 * Various defines needed for code lifted from lpd. 6 * 7 * @(#)Copyright (c) 1995, Simon J. Gerraty. 8 * 9 * This is free software. It comes with NO WARRANTY. 10 * Permission to use, modify and distribute this source code 11 * is granted subject to the following conditions. 12 * 1/ that the above copyright notice and this notice 13 * are preserved in all copies and that due credit be given 14 * to the author. 15 * 2/ that any changes to this code are clearly commented 16 * as such so that the author does not get blamed for bugs 17 * other than his own. 18 * 19 * Please send copies of changes and bug-fixes to: 20 * sjg@zen.void.oz.au 21 */ 22 23 #define LINELEN 132 24 #define BACKGND ' ' 25 #define INVALID '_' 26 27 #ifdef LPD_CHSET 28 #define HEIGHT 9 /* height of characters */ 29 #define DROP 3 /* offset to drop characters with descenders */ 30 #else 31 #define HEIGHT 8 /* height of characters */ 32 #define DROP 0 /* offset to drop characters with descenders */ 33 #endif 34 #define WIDTH 8 /* width of characters */ 35 36