Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lp(IV) — UNIX 6th Edition 1.3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lpr (I)

LP(IV)  −  PWB/UNIX 5/27/74

NAME

lp − line printer

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.  An internal parameter within the driver determines whether or not the device is treated as having a 96- or 64-character set. In 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. A sequence of newlines which extends over the end of a page is turned into a form feed. All lines are indented 8 characters. Lines longer than 80 characters are truncated. These numbers are parameters in the driver; another parameter allows indenting all printout if it is unpleasantly near the left margin.

FILES

/dev/lp

SEE ALSO

lpr (I)

BUGS

Half-ASCII mode, the indent and the maximum line length should be settable by a call analogous to stty (II). 

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