Appendix E: Custom Protocol Command Codes; Description; Download Command Structure - SATO M-5900RV Operator And Technical Reference Manual

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

Advertisement

Custom Protocol Command Codes

Description

This section contains information on creating custom Protocol Command Codes for
operating the M-5900RV printer. The Protocol Command codes are used to tell the
printer that a specific type of information is being transmitted to the printer. As an
example, the Standard Protocol Command Code specifies the use of an
<ESC>character to tell the printer that the following character(s) will represent a
specific command. Sometimes, the host computer is unable to generate the character
or it uses the <ESC> character to control another function. In this case, an Alternate
Protocol Command Code set can be selected for use by placing DIP switch 2-7 in the
ON position. When the Alternate set is selected, the <ESC> character is not used and
is instead replaced with a "carrot"(^) character. A command stream would then start
with a "^A" instead of an "<ESC>A". These two sets of Protocol Command Codes are
adequate for the majority of all applications but occasionally, situations occur where
conflicts exist when using the Alternate set. In these cases, the user can define and
downlaod a custom set of Protocol Command Codes that are stored in EEPROM
memory in the printer. After these are downloaded, they replace the Alternate
Command Code set when DIP switch DS2-7 is in the ON position. When DIP switch
DS2-7 is in the O.. position, the Standard Protocol Command Codes are used.

Download Command Structure

The command for downloading a new set of Protocol Command Codes takes the form
of <ESC>LD,a,b,c,d,e,f,g,h,i. The parameters specified for "a" through "i" can be
transmitted in either ASCII characters or hex notation, allowing a complete 128
character (except for the ",") set to be used for selecting the custom code.
PN 9001081
Rev. C
P
A
R
A
M
E
T
E
R
a
b
c
d
e
f
g
h
A (
u
o t
O
N
L
N I
) E
i
Z (
e
o r
S
a l
s
) h
SATO M-5900RV Operator and Technical Reference Manual
S
T
A
N
D
A
R
D
S
E
T
T
N I
G
S
T
X
E
T
X
E
S
C
E
N
Q
C
A
N
~
O
F
F
L
N I
E
N
o
N
o
Appendix
-
A
L
T
E
R
N
A
T
E
S
E
T
T
N
D (
E
F
A
U
L
) T
{
}
^
@
!
~
]
0
=
Y
E
S
1
=
N
O
0
=
Y
E
S
1
=
N
O
Page E-1
G

Advertisement

Table of Contents
loading

Table of Contents