BSD 4_2 development
[unix-history] / usr / man / man4 / lp.4
CommitLineData
6e1da07b
C
1.TH LP 4 "27 July 1983"
2.UC 4
3.SH NAME
4lp \- line printer
5.SH SYNOPSIS
6.B "device lp0 at uba0 csr 0177514 vector lpintr"
7.SH DESCRIPTION
8.I Lp
9provides the interface to any of the standard
10DEC line printers on an LP-11 parallel interface.
11When it is opened or closed, a suitable number
12of page ejects is generated.
13Bytes written are printed.
14.PP
15The unit number of the printer is specified by the minor device
16after removing the low 3 bits, which act as per-device parameters.
17Currently only the lowest of the low three bits is interpreted:
18if it is set, the device is treated as having a 64-character set,
19rather than a full 96-character set.
20In the resulting half-ASCII mode, lower case letters are turned
21into upper case and certain characters are escaped according to
22the following table:
23.PP
24.br
25.ns
26.TP 10
27{
28\o"-("
29.br
30.ns
31.TP 10
32}
33\o"-)"
34.br
35.ns
36.TP 10
37\`
38\o"-\'"
39.br
40.ns
41.TP 10
42|
43\o"\-!"
44.br
45.ns
46.TP 10
47~
48\o"\-^"
49..
50.PP
51The driver correctly interprets
52carriage returns, backspaces, tabs, and form feeds.
53Lines longer than the maximum page width are truncated.
54The default page width is 132 columns.
55This may be overridden by specifying, for example, ``flags 256'' .
56.SH FILES
57/dev/lp
58.SH "SEE ALSO"
59lpr(1)
60.SH DIAGNOSTICS
61None.