You are on page 1of 1

pin number traditional use port name read/write

port address port bit

1 strobe control port r/w


base+2 c0
2 to 4 data out data port w
base d0 to d2
5 to 9 data out no name w
base d3 to d7
10 ack no name r
base+1 s6
11 busy no name r
base+1 s7
12 paper end no name r
base+1 s5
13 select no name r
base+1 s4
14 auto feed no name r/w
base+2 c1
15 error status port
r base+1 s3
16 initialise no name
r/w base+2 c2
17 select input no name r/w
base+2 c3

base address of lpt1 is 378(hex) or 888(deci)

control port can be accessed base address added with 2 i.e., 037a(hex) or
890(deci)

base address of lpt2 is 0278(hex)

You might also like