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

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

.TH LP 4 
.UC 4
.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
An internal parameter within the driver determines
whether or not the device is treated as having
a 96- or 64-character set.
In 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.
A sequence of newlines which extends over the end of
a page is turned into a form feed.
Lines longer than 80 characters are truncated
(This is a parameter in the driver).
Another parameter allows indenting all printout
if it is unpleasantly near the left margin.
.SH FILES
/dev/lp
.SH "SEE ALSO"
lpr(1)
.SH BUGS
Half-ASCII mode, the indent and the maximum line length should
be settable by an
.IR ioctl (2).