Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lp(4) [bsd man page]

LP(4)							     Kernel Interfaces Manual							     LP(4)

NAME
lp - line printer SYNOPSIS
/sys/conf/SYSTEM: NLP lp_printers # Line Printer LP_MAXCOL 132 # Maximum number of columns on line printers /etc/dtab: #Name Unit# Addr Vector Br Handler(s) # Comments lp ? 177514 200 4 lpintr # lp-11 line printer major device number(s): raw: 5 minor device encoding: bit 01 specifies 64-character set (instead of 96-character set) bits 06 are reserved bits 0370 specify line printer unit: <lp_unit> * 8 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. Cur- rently 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: { ( } ) ` ' | ! ~ ^ The driver correctly interprets carriage returns, backspaces, tabs, and form feeds. Lines longer than the maximum page width are trun- cated. The page width is specified via the LP_MAXCOL definition, set to 132 in the GENERIC distribution. FILES
/dev/lp /dev/MAKEDEV script to create special files /dev/MAKEDEV.local script to localize special files SEE ALSO
lpr(1), dtab(5), autoconfig(8) DIAGNOSTICS
None. BUGS
Although the driver supports multiple printers this has never been tried. 3rd Berkeley Distribution January 28, 1988 LP(4)

Check Out this Related Man Page

TS(4)							     Kernel Interfaces Manual							     TS(4)

NAME
ts - TS-11 magtape interface SYNOPSIS
/sys/conf/SYSTEM: NTS ts_drives # TS11 /etc/dtab: #Name Unit# Addr Vector Br Handler(s) # Comments ts ? 172520 224 5 tsintr # ts11 driver major device number(s): raw: 8 block: 2 minor device encoding: bits 0003 specify TS drive bit 0004 specifies no-rewind operation bit 0010 ignored DESCRIPTION
The ts-11 combination provides a standard tape drive interface as described in mtio(4). The ts-11 operates only at 1600 bpi, and only one transport is possible per controller. FILES
/dev/MAKEDEV script to create special files /dev/MAKEDEV.local script to localize special files SEE ALSO
mt(1), tar(1), tp(1), mtio(4), ht(4), tm(4), dtab(5), autoconfig(8) DIAGNOSTICS
ts%d: no write ring. An attempt was made to write on the tape drive when no write ring was present; this message is written on the termi- nal of the user who tried to access the tape. ts%d: not online. An attempt was made to access the tape while it was offline; this message is written on the terminal of the user who tried to access the tape. ts%d: hard error bn%d xs0=%b xs1=%b xs2=%b xs3=%b. A hard error occurred on the tape at block bn; status registers 0-3 are printed in octal and symbolically decoded as bits. ts%d: addr mod 4 != 0. The address of a TS-11 command packet was not on an even longword boundary. BUGS
If any non-data error is encountered on non-raw tape, it refuses to do anything more until closed. The device lives at the same address as a tm-11 tm(4). 3rd Berkeley Distribution January 28, 1988 TS(4)
Man Page