Interfaces |
X-ON/X-OFF protocol
The following signal lines are used:
| Designation |
|
| Explanation | Direction | ||
Pin | EIA |
| DIN |
| CCITT |
| from/to printer |
|
|
| |||||
|
|
|
| ||||
|
|
|
|
|
|
|
|
1 | AA |
| E1 |
| 101 | PG: Protective Ground |
|
2 | BA |
| D1 |
| 103 | TXD: Transmit Data | x |
3 | BB |
| D2 |
| 104 | RXD: Receive Data | x |
5 | CB |
| M2 |
| 106 | CTS: Clear to Send | x |
6 | CC |
| M1 |
| 107 | DSR: Data Set Ready | x |
7 | AB |
| E2 |
| 102 | SG: Signal Ground |
|
20 | CD |
| S1.2 |
| 108.2 | DTR: Data Terminal Ready | x |
|
|
|
|
|
|
|
|
After
The data flow is controlled with the control characters DC1
Ready to receive means:
–
–512 bytes free in the printer buffer
The printer sends the control character DC3 to the output system 255 bytes before “Printer buffer full”. If further data is sent to the printer after the control character, it sends a second DC3 to the printer 128 bytes before buffer overflow. The control characters are sent in the sequence DC1, DC3, DC1, DC3 etc. The only exception in the sequence is the second DC3 before buffer overflow.
Programmer Reference Guide |