1LP(4) Kernel Interfaces Manual LP(4)
2
3
4
6 lp - line printer
7
9 /sys/conf/SYSTEM:
10 NLP lp_printers # Line Printer
11 LP_MAXCOL 132 # Maximum number of columns on line printers
12
13 /etc/dtab:
14 #Name Unit# Addr Vector Br Handler(s) # Comments
15 lp ? 177514 200 4 lpintr # lp-11 line printer
16
17 major device number(s):
18 raw: 5
19 minor device encoding:
20 bit 01 specifies 64-character set (instead of 96-character set)
21 bits 06 are reserved
22 bits 0370 specify line printer unit: <lp_unit> * 8
23
25 Lp provides the interface to any of the standard DEC line printers on
26 an LP-11 parallel interface. When it is opened or closed, a suitable
27 number of page ejects is generated. Bytes written are printed.
28
29 The unit number of the printer is specified by the minor device after
30 removing the low 3 bits, which act as per-device parameters. Currently
31 only the lowest of the low three bits is interpreted: if it is set, the
32 device is treated as having a 64-character set, rather than a full
33 96-character set. In the resulting half-ASCII mode, lower case letters
34 are turned into upper case and certain characters are escaped according
35 to the following table:
36
37 { -(
38 } -)
39 ` -ยด
40 | -!
41 ~ -^
42
43 The driver correctly interprets carriage returns, backspaces, tabs, and
44 form feeds. Lines longer than the maximum page width are truncated.
45 The page width is specified via the LP_MAXCOL definition, set to 132 in
46 the GENERIC distribution.
47
49 /dev/lp
50 /dev/MAKEDEV script to create special files
51 /dev/MAKEDEV.local script to localize special files
52
54 lpr(1), dtab(5), autoconfig(8)
55
57 None.
58
60 Although the driver supports multiple printers this has never been
61 tried.
62
63
64
653rd Berkeley Distribution January 28, 1988 LP(4)