SATO M-5900RV Manuel D’Utilisation

Page de 258
SATO  M-5900RV Operator and Technical Reference Manual
Page 4-2
Section 4.  Programming Reference
PN 9001081
Rev. C
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.
<ESC>{Command}{Parameter}
These commands set the operational parameters of the printer, like “set the print
speed to 3”.
<ESC>{Command}{Parameter}{Data}
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.  For 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).
L
O
R
T
N
O
C
R
E
T
C
A
R
A
H
C
D
R
A
D
N
A
T
S
F
F
O
7
-
2
W
S
D
D
R
A
D
N
A
T
S
-
N
O
N
N
O
7
-
2
W
S
D
N
O
I
T
P
I
R
C
S
E
D
X
T
S
x
e
H
2
0
{
=
x
e
H
B
7
a
t
a
D
f
o
t
r
a
t
S
X
T
E
x
e
H
3
0
}
=
x
e
H
D
7
a
t
a
D
f
o
d
n
E
C
S
E
x
e
H
B
1
^
=
x
e
H
E
5
w
o
ll
o
f
o
t
e
d
o
c
d
n
a
m
m
o
C
~
x
e
H
E
7
~
=
x
e
H
E
7
d
n
a
m
m
o
c
r
e
t
t
u
C
Q
N
E
x
e
H
5
0
@
=
x
e
H
0
4
m
o
C
-
i
B
,
s
u
t
a
t
s
r
e
t
n
i
r
p
t
e
G
e
d
o
m
N
A
C
x
e
H
8
1
!
=
x
e
H
1
2
m
o
C
-
i
B
,
b
o
j
t
n
i
r
p
l
e
c
n
a
C
e
d
o
m
e
n
i
L
-
f
f
O
x
e
H
0
4
]
=
x
e
H
D
5
e
n
i
L
-
f
f
O
r
e
t
n
i
r
p
e
k
a
T