Selecting Protocol Control Codes; Using Basic - SATO CX Series Programming Manual

Sato printer programming manual cx series
Hide thumbs Also See for CX Series:
Table of Contents

Advertisement

SATO CX Series Printer
<ESC> {Command} {Parameter} {Data}
Some commands can contain both Parameter and Data elements, such as
"print a Code 39 symbol containing the data."

SELECTING PROTOCOL CONTROL CODES

SELECTING PROTOCOL CONTROL CODES
SELECTING PROTOCOL CONTROL CODES
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.
The Protocol Control Code set is made up of six special characters. The Stan-
dard Protocol Control codes are non-printable characters. They can be chan-
ged to printable characters using the Protocol Control code down-load
command. This 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.
The Protocol Control codes must be down-loaded from the host using the
<ESC>LD command (See page 97). Once they are down-loaded, the printer
will not respond to standard protocol codes. The current protocol codes active
in a printer can be determined by printing a Test Label (see CX Series User's
Guide).
Control
Control
Control
Control
Character
Character
Character
Character
STX
ETX
ESC
ENQ
CAN
Off-Line

USING BASIC

USING BASIC
USING BASIC
USING BASIC
It may be useful to test your printer using a BASIC program on a PC. You may
also write your actual production programs in BASIC. Whatever the reason,
if you will be working in BASIC, some of the following hints may help you get
started:
2
HEX Value
HEX Value
HEX Value
HEX Value
02
03
1B
Command Code to follow
05
18
40
Description
Description
Description
Description
Start of Data
End of Data
Not used on CX Series
Not used on CX Series
Take printer off-line

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents