Bi-Directional Communications - SATO M-5900RV Operator And Technical Reference Manual

Direct thermal printer
Hide thumbs Also See for M-5900RV:
Table of Contents

Advertisement

X-On/X-Off Flow Control (Cont.)
Cable Requirements
Data Streams
The data streams for X-On/X-Off are constructed in the same way as they are
for Ready/Busy flow control. The STX and ETX control characters must frame
the data stream.
NOTE: All characters, including STX, ESC, and ETX are in ASCII.
<STX><ESC>A..Job#1..<ESC>Z<ESC>A..Job#n..<ESC>Z<ETX>
Example: <STX><ESC>A..Job#1...<ESC>Z<ETX>XXXXX

Bi-Directional Communications

This is a two-way communications protocol between the host computer and the
printer, thus enabling the host to check printer status. When this protocol is
selected, there is no busy signal from the printer (pin 20, DTR is always high).
The host must request the complete status from the printer, including ready/busy.
Whenever the host requests printer status it transmits an ENQ to the printer and
the printer will respond with its status within five milleseconds. If printing, it will
respond upon finishing the current label, then resume printing. In order for this
protocol to work properly, pin 6 (DTR) and pin 5 (CTS) must be held high by the
host. One way to ensure these pins are always in the correct state is to tie pin 20
(DTR) to pin 6 (DSR) and pin 4 (RTS ) to pin 5 (CTS) at the printer end of the
cable.
PN 9001081
Rev. C
Upon power up, if no error conditions are present, the printer will continually
send X-On characters at five millisecond intervals until it receives a transmission
from the host.
H
O
S
T
N I
T
E
R
C
O
F
G
R
D
T
D
S
G
SATO M-5900RV Operator and Technical Reference Manual
N
N
E
C
T
O I
N
1
F
G
2
T
D
3
R
D
4
R
T
S
5
C
T
S
6
D
S
2
0
D
T
R
7
S
G
Section 5. Interface Specifications
P
R
N I
T
E
R
F (
a r
m
e
G
o r
u
n
) d
T (
a r
s n
m
t i
D
t a
) a
R (
e
c
i e
e v
D
t a
) a
R (
e
q
u
e
t s
o t
S
e
n
) d
C (
e l
r a
o t
S
e
n
) d
R
D (
a
a t
S
t e
R
e
a
d
) y
D (
a
a t
T
r e
m
n i
l a
R
e
a
S (
g i
n
l a
G
o r
u
n
) d
d
) y
Page 5-7

Advertisement

Table of Contents
loading

Table of Contents