Specifications

Hardware 2-21
TM-H6000/H6000P Developer’s Guide
Confidential
XON/XOFF transmission timing
When XON/XOFF control is selected, the printer transmits XON or XOFF signals as follows.
Transmission timing differs depending on the DIP SW1-3 setting.
NOTES:
The XON code is <11>H and the XOFF code is <13>H.
In case
3
, XON is not transmitted when the receive buffer is full.
In case
6
, XOFF is not transmitted when the receive buffer is full.
When the DIP SW 2-1 is set to OFF, XON is not transmitted if the printer is in offline state in case
2
.
Notes on setting DIP switch 2-1 to ON
1. The printer mechanism stops but does not become busy when: an error has occurred, the
cover is open, printing stops due to a paper-end, or paper is fed using the paper
FEED
button.
2. When setting DIP switch 2-1 to ON to enable handshaking with the printer, be sure to check
the printer status using the
GS a
command and the ASB function. In this setting, the default
value of
n
for
GS a
is 2. The printer automatically transmits the printer status, depending on
online/offline changes.
3. When using
DLE EOT
,
DLE ENQ
, and
DLE DC4
be sure that the receive buffer does not
become full.
When using a host that cannot transmit data when the printer is busy:
If an error has occurred,
DLE EOT
,
DLE ENQ,
and
DLE DC4
cannot be used when the
printer is busy due to a receive buffer-full state.
When using a host that can transmit data when the printer is busy:
When the receive buffer becomes full while transmitting bit-image data,
DLE EOT
or
DLE ENQ,
and
DLE DC4
used while sending the bit-image data is processed as bit-
image data. The data transmitted when the receive buffer is full may be lost.
Example: Check the printer status using
GS I
or
GS r
after transmitting each line of data
and use the 4KB receive buffer. Transmit one line of data so that the receive buffer does
not become full.
XON/XOFF transmission timing
Printer status
DIP SW 2-1 status
ON OFF
XON transmission 1. When the printer goes online after turning on the power (or reset
using interface)
Transmit Transmit
2. When the receive buffer is released from the buffer full state Transmit Transmit
3. When the printer switches from offline to online Transmit
4. When the printer recovers from an error using the
DLE ENQ 1
or
DLE
ENQ 2
commands
Transmit
XOFF transmission 5. When the receive buffer becomes full Transmit Transmit
6. When the printer switches from online to offline Transmit