SATO /gt Series Programmer's Reference Manual page 176

E+ programming reference
Hide thumbs Also See for /gt Series:
Table of Contents

Advertisement

Unit 7: Appendix
CUSTOM PROTOCOL CODES
This chapter contains information on creating custom Protocol Command Codes. The Protocol
Command Codes tell the printer that a specific type of information is being transmitted to it. 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. 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 an "^" instead of an "<ESC>".
These two sets of Protocol Command Codes are adequate for the majority of all applications, but
ocassionally situations occur where conflicts exist when using the Alternate set. In these cases,
the user can define and download a custom set of Protocol Command Codes that are stored in
non-voltile memory in the printer. After these are downloaded, they replace the Alternate
Command Code set.
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,j j". 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.
PROTOCOL COMMAND CODES
PARAMETER
a
b
c
d
e
g
h (Auto Online)
i (Zero Slash)
j j (Eurocharacter)
SATO E+ Programming Reference
STANDARD SETTING
STX
ETX
ESC
ENQ
CAN
OFFLINE
No
No
D5
PN 9001149A
ALTERNATE SETTING
{
}
^
@
!
]
0=Yes, 1=No
0=Yes, 1=No
User defined
Page 7-9

Advertisement

Table of Contents
loading

Table of Contents