2.9BSD/usr/man/man4/lp.4

Compare this file to the similar file:
Show the results in this format:

.TH LP 4
.UC
.SH NAME
lp \- line printer
.SH DESCRIPTION
.I Lp
provides the interface to any of the standard
DEC line printers.
When it is opened or closed, a suitable number
of page ejects is generated.
Bytes written are printed.
.PP
The unit number of the printer is specified by the minor device
after removing the low 3 bits, which act as per-device parameters.
Currently only the lowest of the low three bits is interpreted:
if it is set, the device is treated as having a 64-character set,
rather than a full 96-character set.
In the resulting half-ASCII mode, lower case letters are turned
into upper case and certain characters are escaped according to
the following table:
.PP
.br
.ns
.TP 10
{
\o"-("
.br
.ns
.TP 10
}
\o"-)"
.br
.ns
.TP 10
\`
\o"-\'"
.br
.ns
.TP 10
|
\o"\-!"
.br
.ns
.TP 10
~
\o"\-^"
..
.PP
The driver correctly interprets
carriage returns, backspaces, tabs, and form feeds.
Lines longer than 132 characters are truncated
(This is a parameter in the driver).
.SH FILES
/dev/lp
.SH "SEE ALSO"
lpr(1)
.SH DIAGNOSTICS
None.
.SH BUGS
Although the driver supports multiple printers this has never
been tried.