BSD 3 development
[unix-history] / usr / man / man4 / lp.4
CommitLineData
e6817382
BJ
1.TH LP 4
2.SH NAME
3lp \- line printer
4.SH DESCRIPTION
5.I Lp
6provides the interface to any of the standard
7DEC line printers.
8When it is opened or closed, a suitable number
9of page ejects is generated.
10Bytes written are printed.
11.PP
12An internal parameter within the driver determines
13whether or not the device is treated as having
14a 96- or 64-character set.
15In half-ASCII mode, lower case letters are turned
16into
17upper case
18and certain characters are escaped according to
19the following table:
20.PP
21.if t .ig
22.br
23.ns
24.TP 10
25{
26(\b-
27.br
28.ns
29.TP 10
30}
31)\b-
32.br
33.ns
34.TP 10
35\`
36\'\b-
37.br
38.ns
39.TP 10
40|
41!\b-
42.br
43.ns
44.TP 10
45~
46^\b-
47..
48.if n .ig
49.br
50.ns
51.TP 10
52{
53\o"(\-"
54.br
55.ns
56.TP 10
57}
58\o")\-"
59.br
60.ns
61.TP 10
62\`
63\o"\'\-"
64.br
65.ns
66.TP 10
67|
68\o"!\-"
69.br
70.ns
71.TP 10
72~
73\o"^\-"
74..
75.PP
76The driver correctly interprets
77carriage returns, backspaces, tabs, and form feeds.
78A sequence of newlines which extends over the end of
79a page is turned into a form feed.
80All lines are indented 8 characters.
81Lines longer than 80 characters are truncated.
82These numbers are parameters in the driver;
83another parameter allows indenting all printout
84if it is unpleasantly near the left margin.
85.SH FILES
86/dev/lp
87.SH "SEE ALSO"
88lpr(1)
89.SH BUGS
90Half-ASCII mode, the indent and the maximum line length should
91be settable by a call analogous to
92.IR stty (2).