Chapter5 Appendixes
Interface
Serial (RS232C) interface
Pin assignmentPIN No. | Signal Name | Direction | Function | ||
1 | GF | – | Frame ground | ||
2 | TXD | Output | Data transmission | ||
3 | RXD | Input | Data reception | ||
4 | RTS | Output | Same as DTR (20pin) | ||
6 | DSR | Input | Host reception enabled status | ||
|
|
|
| [During DTR/RTS control] | |
|
|
|
| The printer transmits data after it is confirmed that DSR is high. | |
|
|
|
| (But transmission by DLE EOT, GS a) | |
|
|
|
| [During XON/XOFF control] | |
|
|
|
| Printer does not confirm DSR. | |
7 | SG | – | Signal ground | ||
20 | DTR | Output | Printer READY/BUSY status | ||
|
|
|
| [During DTR/RTS control] | |
|
|
|
| When the printer is in reception enabled status, it is READY, when it is | |
|
|
|
| reception disabled, it is BUSY. | |
|
|
|
|
| |
|
|
|
| Printer status | |
|
|
|
| 1) | BUSY until completion of initial settings when the power is turned on |
|
|
|
| 2) | BUSY in normal OFFLINE status |
|
|
|
| 3) | BUSY in OFFLINE status during PE |
|
|
|
| 4) | BUSY in OFFLINE status when other errors occur |
|
|
|
|
|
|
|
|
|
| 5) | BUSY when the reception buffer is full |
|
|
|
| 6) | BUSY during |
|
|
|
|
| |
|
|
|
| [During XON/XOFF control] | |
|
|
|
| Always | |
|
|
|
| 1) | Until completion of initial settings when the power is turned on |
|
|
|
| 2) | During |
25 | INIT | Input | Printer RESET (1ms or more is higher) |
Buffer Full Control |
|
|
|
|
| Connection with HOST |
| ||||||||
|
|
|
| Reception buffer 40/4K |
|
| Printer |
| Host | ||||||
|
|
|
|
|
|
|
|
|
|
| 1 | FG |
| 1 | FG |
|
|
|
|
|
|
|
|
|
|
| 2 | TXD |
| 2 | TXD |
|
|
|
|
|
|
|
|
|
|
| 3 | RXD |
| 3 | RXD |
|
|
|
|
|
|
|
|
|
|
| 4 | RTS |
| 4 | RTS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8/1536 bytes | 16/512 bytes |
|
|
|
| 5 | CTS | ||||||||
| 6 | DSR |
| 6 | DSR | ||||||||||
|
| XON | XOFF |
|
| ||||||||||
|
|
| 7 | SG |
| 7 | SG | ||||||||
Overrun/Buffer size: 16/512 bytes |
|
| |||||||||||||
| 20 | DTR |
| 20 | DTR | ||||||||||
XOFF cancel size: 8/1536 bytes |
|
| |||||||||||||
|
|
|
|
|
|
48