Control Code Command Functions
10
Class Series 2 Programmer’s Manual
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
System
CR
0x0D
0x0D
0x7C
Line Termination
ESC
0x1B
0x1B
0x1B
Font Loading
“Count By”
[1]
0x5E 0x40 0x40
Label Formatting
[1]
See Label Formatting Commands, ^ set count by amount.
Table 2-3: Alternate Control Code Listings
Throughout this manual
<SOH>
,
<STX>
,
<CR>
,
<ESC>
, and
^
will be used to indicate control
codes. The actual values will depend on whether standard or alternate control codes are
enabled for the particular application.
Alternate Line Terminator Example:
Alternate Control Codes provide for substitution of
the line terminator, as well as the control characters listed above. For example using
Alternate 2, the line terminator <CR> (0x0D) is replaced by | (0x7C). The following is a
sample label format data stream for a printer configured for Alternate-2 Control Codes:
~L|1911A10001000101234560|X|~UT01ABCDE|~G|
Summary of Contents for A-Class
Page 2: ......
Page 3: ......
Page 5: ......
Page 6: ......
Page 22: ...Overview 8 Class Series 2 Programmer s Manual ...
Page 30: ...Immediate Command Functions 16 Class Series 2 Programmer s Manual ...
Page 138: ...Extended System Level Command Functions 124 Class Series 2 Programmer s Manual ...
Page 160: ...Label Formatting Command Functions 146 Class Series 2 Programmer s Manual ...
Page 180: ...Generating Label Formats 166 Class Series 2 Programmer s Manual ...
Page 192: ...Appendix B Sample Programs 178 Class Series 2 Programmer s Manual ...
Page 200: ...Appendix D Reset Codes 186 Class Series 2 Programmer s Manual ...
Page 212: ...Appendix E Single Byte Symbol Sets 198 Class Series 2 Programmer s Manual ...
Page 264: ...Appendix G Bar Code Details 250 Class Series 2 Programmer s Manual ...
Page 308: ...Appendix Q Plug and Play IDs 294 Class Series 2 Programmer s Manual ...
Page 312: ...Appendix R Line Mode 298 Class Series 2 Programmer s Manual ...
Page 324: ...Appendix T WiFi Region Country Codes 310 Class Series 2 Programmer s Manual ...
Page 334: ......