Class Series 2 Programmer’s Manual
9
2
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: Attention Getter Listings
Easy Control Codes
DPL has been enhanced to accept a 3-character SOH and STX sequence. Easy Control Codes
are always enabled, whether in Standard, Alternate, Alternate 2, or Custom Control Code
Mode. Two types of sequences have been created to meet any application’s requirements.
Use these sequences where you normally would use a single SOH or STX character.
Control Character
3 “%” Character
Sequence
3 “^”Character
Sequence
Command Type
SOH
%01
^01
Control
STX
%02
^02
System
Table 2-2: Easy Control Code Listings
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: ......