Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)lp.4 4.1 (Berkeley) 05/15/85
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)lp.4 4.1 (Berkeley) 05/15/85
LP 4 4/1/81
C 4 NAME
lp - line printer
SYNOPSIS
device lp0 at uba0 csr 0177514 vector lpintr
DESCRIPTION
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.
The unit number of the printer is specified by the minor device after removing the low 3 bits, which act as per-device parameters. Currently only the lowest of the low three bits is interpreted: if it is set, the device is treated as having a 64-character set, rather than a full 96-character set. In the resulting half-ASCII mode, lower case letters are turned into upper case and certain characters are escaped according to the following table:
.ns
10 { \o"-("
.ns
10 } \o"-)"
.ns
10 \` \o"-\'"
.ns
10 | \o"-!"
.ns
10 ~ \o"-^" ..
The driver correctly interprets carriage returns, backspaces, tabs, and form feeds. Lines longer than 132 characters are truncated (This is a parameter in the driver).
FILES
/dev/lp
"SEE ALSO"
lpr(1)
DIAGNOSTICS
None.
BUGS
Although the driver supports multiple printers this has never
been tried. In any case user-level software support for multiple printers
is not available.