SATO M-5900RV Operator and Technical Reference Manual Page E-1
PN 9001081
Rev. C
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 OFF 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.
RETEMARAPGNITTESDRADNATS
GNTTESETANRETLA
)TLUAFED(
aXTS{
bXTE}
cCSE^
dQNE@
eNAC!
f~~
gENILFFO]
)ENILNOotuA(hoN
SEY=0
ON=1
)hsalSoreZ(ioN
SEY=0
ON=1
Custom Protocol Command Codes
-
Appendix