Xon/Xoff Control - IBM 4610-TM6 - SureMark Printer TM6 Two-color Thermal Transfer User Manual

Suremark printers
Hide thumbs Also See for 4610-TM6 - SureMark Printer TM6 Two-color Thermal Transfer:
Table of Contents

Advertisement

August 24, 2004
DTR operation: A DTR signal becomes inactive when the system is not ready to
receive data (for example, at power-on reset or when its buffer is full).

XON/XOFF control

XON definition:
XOFF definition:
During XON/XOFF control, the printer transmits an XON every 3 seconds after a
power on reset (POR) completes to indicate the printer is ready to receive data.
When the first message is received, the printer stops transmitting the XON signal.
The printer transmits an XOFF when the RS-232 input buffer is 80% full after which
it transmits one XON when the buffer is 20% full.
XON/XOFF transparent mode operation
This is the default mode. See "Message from the printer" on page 165 for the
format of printer to system messages, which include a byte count, status bytes, and
optional extended status bytes or user data.
Transparent mode should always be used when selecting XON/XOFF mode for
Model TI8.
XON and XOFF are transmitted independently, and can occur at any point inside or
outside of messages transmitted by the printer. When a message includes optional
user data, the byte count (bytes 1 and 2) can include X'10', X'11', or X'13'. When
X'10', X'11', or X'13' occur in transparent XON/XOFF mode, the byte count is
bit-exclusive-OR'ed with X'21' and is prefixed by the DLE (X'10') character to
become:
Value in message
X'10'
X'11'
X'13'
User data with X'10', X'11', or X'13' is also treated this way in transparent
XON/XOFF mode. The byte count is not incremented for such extra characters.
Determining XON/XOFF control
You can determine whether XON/XOFF control is being used by sending the
extended address command and checking the feature byte, bit 3. If this bit is set,
the printer is in XON/XOFF mode. (See "Extended address command–request
printer ID" on page 109.
Disabling XON/XOFF transparent mode
You can disable transparent XON/XOFF mode as described in "Real-time requests"
on page 161. When disabled, X'10', X'11', or X'13' can occur within messages.
However, because such values are actual count bytes or data bytes and are not
XON or XOFF characters (DLE, XON, and XOFF characters do not occur within
messages), no transform takes place. The values are not bit-exclusive-OR'ed with
X'21' because no transform occurs for such values within messages as it does
during transparent XON/XOFF mode. DLE, XON, or XOFF occur only before or
after a message.
= DC1 (X'11')
= DC3 (X'13')
Becomes
X'1031'
X'1030'
X'1032'
Chapter 2. Installation instructions
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti1Ti2Ti3Ti4Ti8Tg3 ... Show all

Table of Contents