– 11 –
4-5. Data Protocol
4-5-1. DTR/DSR mode
This mode is accessed when the DIP switch 1-3 is set to ON.
Signals are controlled using the DTR line as a BUSY flag.
Immediately after power on (provided that no error occurs), the printer sets DTR
to “SPACE” to indicate that it is ready to receive data. When the host detects that
DTR is in “SPACE” condition, it begins sending text data over the RXD line.
When the printer’s remaining buffer space falls to 256 bytes or less, the printer
sets DTR to “MARK.” The host responds by halting the data transfer. However,
note that the printer remains capable of receiving data until the buffer becomes
full.
Available buffer space increases as the printer prints the buffered data. When the
printer has cleared all but the last 256 bytes of data, it sets DTR back to “SPACE”
to indicate that it is ready to receive more data.
RXD
DTR
Data
Data Data
Buffer full
Buffer empty
Printing
Power ON
Data buffer full
Nearly full
Nearly empty
Empty
DTR
“MARK”
DTR
“SPACE”
256 bytes
remaining
256 bytes
SERIAL
Summary of Contents for TSP400 Series
Page 1: ...Thermal Printer TSP400 Series TUP400 Programmer s Manual...
Page 2: ......
Page 103: ...100 Page Mode Character type Small size or standard...
Page 104: ...101 Page Mode Character type Boldface...
Page 105: ...102 Page Mode International Character Set...
Page 106: ...103 Line Mode...
Page 107: ...104 Line Mode Character table Normal...
Page 108: ...105 Line Mode Character table katakana...
Page 109: ...106 Line Mode Character table IBM...
Page 110: ...107 Line Mode International Character Set...
Page 135: ......