Selecting Protocol Control Codes; Using Basic - SATO XL400 Operator And Technical Reference Manual

Xl series thermal transfer tag printers
Hide thumbs Also See for XL400:
Table of Contents

Advertisement

These commands set the operational parameters of the printer, like "set the print
speed to 3."
Some commands can contain both Parameter and Data elements, such as "print a
Code 39 symbol containing the data".

SELECTING PROTOCOL CONTROL CODES

Protocol codes are the special control characters that prepare the printer to receive
instructions. For example, the
code will follow and the
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 Control panel
(see Section 3: Printer DIP Switch Configuration, page 3-2)
CONTROL
CHARACTER
STX
ETX
ESC
ENQ
CAN

USING BASIC

It may be useful to test your XL 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:
Set the WIDTH of the output device to 255 characters to avoid automatically sending
and
continuous and uninterrupted by
given in this manual are printed on separate lines because they will not fit on one line
and do not contain any
needed, they are explicitly noted by the inclusion of
Page 5-2
<ESC> {Command} {Parameter} {Data}
character tells the printer that a command
character asks for the printer status.
STANDARD
NON-STANDARD
DSW2-7 OFF
DSW2-7 ON
02 Hex
7B Hex = {
03 Hex
7D Hex = }
1B Hex
5E Hex = ^
05 Hex
40 Hex = @
18 Hex
21 Hex = !
characters after every line. The command string should be
and/or
and/or
9001038 Rev. D
Section 5. Programming Reference
DESCRIPTION
Start of Data
End of Data
Command code to follow
Get printer status, Bi-Com mode
Cancel print job, Bi-Com mode
commands. The examples
characters. If these characters are
and
SATO XL Series Printers
notations.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xl410

Table of Contents