Selecting Protocol Codes - SATO GL408e Programming Reference Manual

Sbpl
Hide thumbs Also See for GL408e:
Table of Contents

Advertisement

Unit 2: Programming Concepts

SELECTING PROTOCOL 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 and the
<ENQ> character asks for the printer status.
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 D).
PROTOCOL CODES
CONTROL
CHARACTER
STX
ETX
ESC
ENQ
CAN
Off-Line
SATO GL4xxe SBPL Programming Reference
STANDARD
DESCRIPTION
DSW2-7 OFF
02 Hex
Data start
03 Hex
Data end
1B Hex
Command Code to follow
05 Hex
Get printer status, Bi-Com Mode
18 Hex
Cancel print job, Bi-Com mode
40 Hex
Take printer Off-Line
Page 2-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gl412e

Table of Contents