manual page distributed with 4.1BSD
[unix-history] / usr / src / share / man / man4 / man4.vax / lp.4
CommitLineData
524947b3
KM
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
10lp \- line printer
11.SH SYNOPSIS
12device lp0 at uba0 csr 0177514 vector lpintr
13.SH DESCRIPTION
14.I Lp
15provides the interface to any of the standard
16DEC line printers.
17When it is opened or closed, a suitable number
18of page ejects is generated.
19Bytes written are printed.
20.PP
21The unit number of the printer is specified by the minor device
22after removing the low 3 bits, which act as per-device parameters.
23Currently only the lowest of the low three bits is interpreted:
24if it is set, the device is treated as having a 64-character set,
25rather than a full 96-character set.
26In the resulting half-ASCII mode, lower case letters are turned
27into upper case and certain characters are escaped according to
28the 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
57The driver correctly interprets
58carriage returns, backspaces, tabs, and form feeds.
59Lines longer than 132 characters are truncated
60(This is a parameter in the driver).
61.SH FILES
62/dev/lp
63.SH "SEE ALSO"
64lpr(1)
65.SH DIAGNOSTICS
66None.
67.SH BUGS
68Although the driver supports multiple printers this has never
69been tried. In any case user-level software support for multiple printers
70is not available.