Selecting Protocol Control Codes - SATO M-5900RV Operator And Technical Reference Manual

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

Advertisement

Section 4. Programming Reference
Commands with this format tell the printer to perform a specific action which is
dependent upon the following data, like “print X labels”, where the value for X is
contained in the data.
These commands set the operational parameters of the printer, like “set the print
speed to 3”.
Some commands can contain both Parameter and Data elements, such as “print a
Code 39 symbol containing the data”.

4.3 Selecting Protocol Control Codes

Protocol codes are the special control characters that prepare the printer to
receive instructions. .or example, the <ESC> character tells the printer that a
command code will follow and the <ENQ> character asks for the printer status.
There are two pre-defined different sets of Protocol Control codes to choose
from. Each set is made up of six special characters. The Standard Protocol
Control codes are non-printable characters, and the Non-Standard Protocol
Control codes are printable characters. The Non-Standard set may be useful on
host computers using protocol converters or in an application where non-
printable ASCII characters cannot be sent from the host. This manual uses the
Standard Protocol Control codes for all of the examples. Alternately, the user
may define and download a set of custom Protocol Control Codes (See Appendix
E).
The Protocol Control codes are selected by a DIP switch DSW2-7 on the front panel
(see Section 2: Printer DIP Switch Settings, Page 2-13).
C
O
N
T
R
O
L
C
H
A
R
A
C
T
E
R
S
T
X
E
T
X
E
S
C
~
E
N
Q
C
A
N
O
f f
L -
n i
e
Page 4-2
SATO M-5900RV Operator and Technical Reference Manual
<ESC>{Command}{Parameter}
<ESC>{Command}{Parameter}{Data}
S
T
A
N
D
A
R
D
N
O
N
D
S
W
2
7 -
O
F
F
D
S
0
2
H
e
x
7
0
3
H
e
x
7
1
B
H
e
x
5
7
E
H
e
x
7
0
5
H
e
x
4
0
1
8
H
e
x
2
4
0
H
e
x
5
S -
T
A
N
D
A
R
D
D
W
2
7 -
O
N
B
H
e
x
=
{
D
H
e
x
=
}
E
H
e
x
=
^
C
o
m
m
E
H
e
x
=
~
C
G
t e
r p
H
e
x
=
@
C
a
c n
l e
1
H
e
x
=
!
D
H
e
x
=
]
a T
k
E
S
C
R
P I
T
O I
N
S
a t
t r
f o
D
a
a t
E
n
d
f o
D
a
a t
a
n
d
c
o
d
e
o t
o f
o l l
w
t t u
r e
c
o
m
m
a
n
d
t n i
r e
s
a t
u t
, s
i B
C -
o
m
m
o
d
e
r p
t n i
o j
, b
i B
C -
o
m
m
o
d
e
e
r p
t n i
r e
O
f f
L -
n i
e
PN 9001081
Rev. C

Advertisement

Table of Contents
loading

Table of Contents