Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lp(4) — Duplix 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lpr(1)

LP(4)  —  Unix Programmer’s Manual

NAME

lp − line printer

SYNOPSIS

LP0 at address 0x3fff4c/017777514 vector 0x80/0200

DESCRIPTION

lp provides the interface to any of the standard DEC line printers on an LP-11 parallel interface.  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 two lowest of the low three bits are interpreted.  When neither of these two low bits is set (that is, they have values of zero), the device is treated as having a full ASCII 96-character set.  If the second lowest bit is set with a value of one, raw I/O transfers occur.  If the lowest bit is set with a value of one, 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:

{ -
(

} -
)

` -
´

| −
!

~ −
^

The driver correctly interprets carriage returns, backspaces, tabs, and form feeds.  Lines longer than the maximum page width are truncated.  The default page width is 132 columns.  This may be overridden by specifying, for example, “flags 256” . 

FILES

/dev/lp∗

SEE ALSO

lpr(1)

DIAGNOSTICS

None. 

4th Berkeley Distribution  —  April 27, 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026