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
Control
STX
0x02
0x7E
0x7E
System
CR
0x0D
0x0D
0x7C
Line Termination
ESC
0x1B
0x1B
0x1B
Font Loading
“Count By”
[1]
0x5E 0x40 0x40
User Defined
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 MP Compact4 Mark II
Page 2: ......
Page 4: ......
Page 20: ...Overview 8 Class Series 2 Programmer s Manual...
Page 28: ...Immediate Command Functions 16 Class Series 2 Programmer s Manual...
Page 136: ...Extended System Level Command Functions 124 Class Series 2 Programmer s Manual...
Page 156: ...Label Formatting Command Functions 144 Class Series 2 Programmer s Manual...
Page 176: ...Generating Label Formats 164 Class Series 2 Programmer s Manual...
Page 188: ...Appendix B Sample Programs 176 Class Series 2 Programmer s Manual...
Page 196: ...Appendix D Reset Codes 184 Class Series 2 Programmer s Manual...
Page 208: ...Appendix E Single Byte Symbol Sets 196 Class Series 2 Programmer s Manual...
Page 260: ...Appendix G Bar Code Details 248 Class Series 2 Programmer s Manual...
Page 304: ...Appendix Q Plug and Play IDs 292 Class Series 2 Programmer s Manual...
Page 308: ...Appendix R Line Mode 296 Class Series 2 Programmer s Manual...
Page 320: ...Appendix T WiFi Region Country Codes 308 Class Series 2 Programmer s Manual...
Page 330: ......