Class Series Programmer’s Manual
7
Control Code Command Functions
Introduction
The printer requires a special “attention-getter” character in order to receive a command sequence,
informing the printer that it is about to receive a command and the type of command it will be. Control
Commands, System-Level Commands, and Font Loading Commands have their own unique attention-
getter, followed by a command character that directs printer action.
Attention-Getters
The attention-getters (e.g., “
SOH
”) are standard ASCII control labels that represent a one character control
code (i.e.,
^A
or Ctrl A). Appendix A contains the entire ASCII Control Code Chart.
Attention-Getter
ASCII Character
Decimal Value
HEX Value
Immediate Commands
SOH
1
01
System-Level Commands
STX
2
02
Font Loading Commands
ESC
27
1B
Table 2-1: Control Code Listings
Alternate Control Code Modes
For systems unable to transmit certain control codes, Alternate Control Code Modes are available.
Configuring the printer to operate in an Alternate Control Code Mode (selected via the Setup Menu, the
<STX>Kc
command or, where applicable, the
<STX>KD
command) requires the substitution of Standard
Control Characters with Alternate Control Characters in what is otherwise a normal data stream.
Control Character
Standard
Alternate
Alternate 2
Custom
Command Type
SOH
0x01
0x5E
0x5E
User Defined
Control
STX
0x02
0x7E
0x7E
User Defined
System
CR
0x0D
0x0D
0x7C
User Defined
Line Termination
ESC
0x1B
0x1B
0x1B
User Defined
Font Loading
“Count By”
[1]
0x5E
0x40
0x40
User Defined
Label Formatting
[1]
See Label Formatting Commands,
^
set count by amount.
Table 2-2: Alternate Control Code Listings
Note:
Throughout this manual
<SOH>
,
<STX>
,
<CR>
,
<ESC>
, and
^
, will be used to indicate the control codes.
The actual values will depend on whether standard or alternate control codes are enabled for the
particular application.
Summary of Contents for A-Class A-4310
Page 2: ......
Page 4: ......
Page 15: ...xi Appendix V 281 Bar Code Symbology Information Resources 281 Glossary 283...
Page 16: ...xii...
Page 30: ...Immediate Command Functions 14 Class Series Programmer s Manual...
Page 52: ...System Level Command Functions 36 Class Series Programmer s Manual...
Page 144: ...Label Formatting Command Functions 128 Class Series Programmer s Manual...
Page 162: ...Generating Label Formats 146 Class Series Programmer s Manual...
Page 182: ...Appendix D Reset Codes 166 Class Series Programmer s Manual...
Page 192: ...Appendix E Single Byte Symbol Sets 176 Class Series Programmer s Manual...
Page 236: ...Appendix G Barcode Details 220 Class Series Programmer s Manual...
Page 242: ...Appendix I Symbol Sets and Character Maps 226 Class Series Programmer s Manual...
Page 272: ...Appendix P UPC A and EAN 13 256 Class Series Programmer s Manual...
Page 282: ...Appendix R Plug and Play IDs 266 Class Series Programmer s Manual...
Page 296: ...Appendix U WiFi Region Country Codes 280 Class Series Programmer s Manual...
Page 302: ...Glossary 286 Class Series Programmer s Manual...