|
|
1.1 root 1: .TH LPT 3
2: .SH NAME
3: lpt \- parallel port interface for PC's
4: .SH SYNOPSIS
5: .nf
6: .B bind -a #L[123] /dev
7:
8: .B /dev/lpt[123]data
9: .B /dev/lpt[123]dlr
10: .B /dev/lpt[123]pcr
11: .B /dev/lpt[123]psr
12: .fi
13: .SH DESCRIPTION
14: The
15: .I lpt
16: driver provides an interface to the parallel
17: interface normally used for printers.
18: The specifiers
19: .BR 1 ,
20: .BR 2 ,
21: and
22: .BR 3
23: correspond to
24: the parallel interfaces at PC ports 0x3bc, 0x378, and 0x278
25: respectively.
26: .PP
27: .B Lpt?data
28: is write only.
29: Writing to it sends data to the interface.
30: This file is sufficient for communicating with most printers.
31: .PP
32: .BR Lpt?dlr ,
33: .BR lpt?pcr ,
34: and
35: .B lpt?psr
36: are used for fine control of the parallel port.
37: Reading or writing these files corresponds to
38: reading and writing the data latch register,
39: printer control register, and printer status
40: register.
41: These are used by programs to drive special devices.
42: .SH SOURCE
43: .B /sys/src/9/pc/devlpt.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.