BSD 4_3_Net_2 release
[unix-history] / usr / src / share / man / man4 / man4.vax / lp.4
CommitLineData
9903e566
CL
1.\" Copyright (c) 1980, 1991 Regents of the University of California.
2.\" All rights reserved.
524947b3 3.\"
c0567266
KB
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\" must display the following acknowledgement:
14.\" This product includes software developed by the University of
15.\" California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\" may be used to endorse or promote products derived from this software
18.\" without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
9903e566 31.\"
af359dea
C
32.\" @(#)lp.4 6.2 (Berkeley) 3/27/91
33.\"
34.Dd March 27, 1991
9903e566
CL
35.Dt LP 4 vax
36.Os BSD 4
37.Sh NAME
38.Nm lp
39.Nd line printer
40.Sh SYNOPSIS
41.Cd "device lp0 at uba0 csr 0177514 vector lpintr"
42.Sh DESCRIPTION
43The
44.Nm lp
45device
46supports
47.Tn DEC
48and
49.Tn DEC
50compatible printers
51on the
52.Tn LP-11
53parallel interface.
54.Pp
524947b3
KM
55The unit number of the printer is specified by the minor device
56after removing the low 3 bits, which act as per-device parameters.
57Currently only the lowest of the low three bits is interpreted:
9903e566
CL
58if it is set, the device is assumed to have a 64-character set or
59.Pf half Tn -ASCII
60mode,
524947b3 61rather than a full 96-character set.
9903e566
CL
62.Pp
63If the 64-character set is assumed,
64any lower case characters are mapped to upper case; left curly and
65right curly braces are mapped to left and right parentheses over
66laid with a hyphen; grave accents are mapped to acute accents
67with overlaid with a hyphen; the pipe bar character is mapped
68to an exclamation sign overlaid with a hyphen; and the tilde
69character is mapped to a carat overlaid with a hyphen.
70.Pp
71The default page width is 132 columns; longer lines are
72truncated.
73This may be overridden by specifying, for example,
74.Ql flags 256 .
75.Sh FILES
76.Bl -tag -width Pa -compact
77.It Pa /dev/lp
78.El
79.Sh SEE ALSO
80.Xr lpr 1
81.Sh HISTORY
82A
83.Nm
84driver appeared in
85.At v6 .