| 1 | .\" Copyright (c) 1980 Regents of the University of California. |
| 2 | .\" All rights reserved. The Berkeley software License Agreement |
| 3 | .\" specifies the terms and conditions for redistribution. |
| 4 | .\" |
| 5 | .\" @(#)lp.4 4.1 (Berkeley) %G% |
| 6 | .\" |
| 7 | .TH LP 4 4/1/81 |
| 8 | .UC 4 |
| 9 | .SH NAME |
| 10 | lp \- line printer |
| 11 | .SH SYNOPSIS |
| 12 | device lp0 at uba0 csr 0177514 vector lpintr |
| 13 | .SH DESCRIPTION |
| 14 | .I Lp |
| 15 | provides the interface to any of the standard |
| 16 | DEC line printers. |
| 17 | When it is opened or closed, a suitable number |
| 18 | of page ejects is generated. |
| 19 | Bytes written are printed. |
| 20 | .PP |
| 21 | The unit number of the printer is specified by the minor device |
| 22 | after removing the low 3 bits, which act as per-device parameters. |
| 23 | Currently only the lowest of the low three bits is interpreted: |
| 24 | if it is set, the device is treated as having a 64-character set, |
| 25 | rather than a full 96-character set. |
| 26 | In the resulting half-ASCII mode, lower case letters are turned |
| 27 | into upper case and certain characters are escaped according to |
| 28 | the following table: |
| 29 | .PP |
| 30 | .br |
| 31 | .ns |
| 32 | .TP 10 |
| 33 | { |
| 34 | \o"-(" |
| 35 | .br |
| 36 | .ns |
| 37 | .TP 10 |
| 38 | } |
| 39 | \o"-)" |
| 40 | .br |
| 41 | .ns |
| 42 | .TP 10 |
| 43 | \` |
| 44 | \o"-\'" |
| 45 | .br |
| 46 | .ns |
| 47 | .TP 10 |
| 48 | | |
| 49 | \o"\-!" |
| 50 | .br |
| 51 | .ns |
| 52 | .TP 10 |
| 53 | ~ |
| 54 | \o"\-^" |
| 55 | .. |
| 56 | .PP |
| 57 | The driver correctly interprets |
| 58 | carriage returns, backspaces, tabs, and form feeds. |
| 59 | Lines longer than 132 characters are truncated |
| 60 | (This is a parameter in the driver). |
| 61 | .SH FILES |
| 62 | /dev/lp |
| 63 | .SH "SEE ALSO" |
| 64 | lpr(1) |
| 65 | .SH DIAGNOSTICS |
| 66 | None. |
| 67 | .SH BUGS |
| 68 | Although the driver supports multiple printers this has never |
| 69 | been tried. In any case user-level software support for multiple printers |
| 70 | is not available. |