4-2
Function Description
Rev. B
Confidential
XON/XOFF Control
The XON code is defined as character 11h, and the XOFF code is 13h. A DIP switch on the TM
printer selects the handshaking conditions under which it sends the XON and XOFF codes.
(*) During the receive buffer full state, XON and XOFF are not sent even when the online/offline state is changed.
The term “offline” as used above means any of the following conditions:
❏
During power-on or resetting.
❏
While executing the self test.
❏
While the cover is open.
❏
When feeding paper by the paper feed button.
❏
When printing has stopped due to out-of-paper condition.
❏
When an error has occurred.
The term “online” refers to the state when any of the above conditions has been cancelled.
Table 4-2 TM printer XON/XOFF sending conditions
Printer DIP Switch
Setting
XON/XOFF Sending
Sending Condition
ON
Sends XON
•
When first online after power on or reset
•
When a receive buffer full condition is cancelled
Sends XOFF
•
When the receive buffer becomes full
OFF
Sends XON
•
When first online after power on or reset
•
When a receive buffer full condition is cancelled
•
When switched from offline to online (*)
•
When recovering from a recoverable error by a command
Sends XOFF
•
When the receive buffer becomes full
•
When switched from offline to online (*)