– 14 –
4-5-3. STX-ETX mode
This mode is accessed from whichever DTR mode or XON/XOFF mode.
To set this mode, the data buffer must be empty.
The host computer sends an ENQ code to the printer and acknowledges the printer
status. Then, the host computer checks if the printer buffer is empty. After the host
computer detects that the buffer is empty, a STX code and data are transmitted.
After 1 block of data is transmitted, the host computer sends an ENQ code to the
printer and then receives the printer status and check byte (horizontal parity for
the printer).
At this point, the host computer performs a status and horizontal parity check.
When the host computer determines that there was no error, it transmits an ETX
code which serves as text end code. After the printer receives the ETX code, data
in the data buffer is printed out. If an error occurs, a CAN code is transmitted by
the host computer. (In this instance, the data which was previously sent to the
buffer is cleared, thus, the host computer must retransmit the same data to the
printer.)
A flowchart of this operation is shown on the next page.
SERIAL
Содержание TSP400 Series
Страница 1: ...Thermal Printer TSP400 Series TUP400 Programmer s Manual...
Страница 2: ......
Страница 102: ...99 Character code table Differs according to the memory switch settings Page Mode 9 CHARACTER CODE TABLES...
Страница 103: ...100 Page Mode Character type Small size or standard...
Страница 104: ...101 Page Mode Character type Boldface...
Страница 105: ...102 Page Mode International Character Set...
Страница 106: ...103 Line Mode...
Страница 107: ...104 Line Mode Character table Normal...
Страница 108: ...105 Line Mode Character table katakana...
Страница 109: ...106 Line Mode Character table IBM...
Страница 110: ...107 Line Mode International Character Set...
Страница 135: ......