2 control code command functions – Datamax-O'Neil DPL Programmer’s Manual User Manual
Page 15

Control Code Command Functions
7
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
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.
These sequences will not function when the printer input mode is selected to “auto”.
Control Character
3 “%” Character
Sequence
3 “^”Character
Sequence
Command Type
SOH
%01
^01
Control
STX
%02
^02
System