1.\" Copyright (c) 1980, 1991 Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. All advertising materials mentioning features or use of this software 13.\" must display the following acknowledgement: 14.\" This product includes software developed by the University of 15.\" California, Berkeley and its contributors. 16.\" 4. Neither the name of the University nor the names of its contributors 17.\" may be used to endorse or promote products derived from this software 18.\" without specific prior written permission. 19.\" 20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" from: @(#)lp.4 6.2 (Berkeley) 3/27/91 33.\" $Id: lp.4,v 1.2 1993/08/01 07:36:10 mycroft Exp $ 34.\" 35.Dd March 27, 1991 36.Dt LP 4 vax 37.Os BSD 4 38.Sh NAME 39.Nm lp 40.Nd line printer 41.Sh SYNOPSIS 42.Cd "device lp0 at uba0 csr 0177514 vector lpintr" 43.Sh DESCRIPTION 44The 45.Nm lp 46device 47supports 48.Tn DEC 49and 50.Tn DEC 51compatible printers 52on the 53.Tn LP-11 54parallel interface. 55.Pp 56The unit number of the printer is specified by the minor device 57after removing the low 3 bits, which act as per-device parameters. 58Currently only the lowest of the low three bits is interpreted: 59if it is set, the device is assumed to have a 64-character set or 60.Pf half Tn -ASCII 61mode, 62rather than a full 96-character set. 63.Pp 64If the 64-character set is assumed, 65any lower case characters are mapped to upper case; left curly and 66right curly braces are mapped to left and right parentheses over 67laid with a hyphen; grave accents are mapped to acute accents 68with overlaid with a hyphen; the pipe bar character is mapped 69to an exclamation sign overlaid with a hyphen; and the tilde 70character is mapped to a carat overlaid with a hyphen. 71.Pp 72The default page width is 132 columns; longer lines are 73truncated. 74This may be overridden by specifying, for example, 75.Ql flags 256 . 76.Sh FILES 77.Bl -tag -width Pa -compact 78.It Pa /dev/lp 79.El 80.Sh SEE ALSO 81.Xr lpr 1 82.Sh HISTORY 83A 84.Nm 85driver appeared in 86.At v6 . 87