Parallel Port
Home Up Feedback Contents Search

                            Parallel Printer Port                             
Ports 278, 378, 3BC printer data output  (readable)
Bit Dec Hex  Description
0 1 01h  data bit 0, hardware pin 2
1 2 02h  data bit 1, hardware pin 3
2 4 04h  data bit 2, hardware pin 4
3 8 08h  data bit 3, hardware pin 5
4 16 10h  data bit 4, hardware pin 6
5 32 20h  data bit 5, hardware pin 7
6 64 40h  data bit 6, hardware pin 8
7 128 80h  data bit 7, hardware pin 9

 

Ports 279, 379, 3BD printer status register   (Parallel Printer Port)
Bit Dec Hex  Description
0 1 01h  1 = time-out
1 2 02h  not used
2 4 04h
3 8 08h  1 = error,  pin 15
4 16 10h  1 = on-line,  pin 13
5 32 20h  1 = out of paper,  pin 12
6 64 40h  0 = Acknowledge,  pin 10
7 128 80h  0 = busy,  pin 11

 

Ports 27A, 37A, 3BE printer control register   (Parallel Printer Port)
Bit Dec Hex  Description
0 1 01h  1 = output data to printer,  (pin 1)
1 2 02h  1 = auto line feed,  (pin 14)
2 4 04h  0 = initialize printer,  (pin 16)
3 8 08h  1 = printer reads output,  (pin 17)
4 16 10h  0 = IRQ disable,1=IRQ enable for ACK
5 32 20h  not used
6 64 40h
7 128 80h
 


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .