Programming Commands - Datamax Allegro 2 Operator's Manual

Thermal label printer
Table of Contents

Advertisement

2.5

Programming Commands

In order to be ready for a command sequence, the Printer must first
receive a special character called an "attention getter" that informs
the Printer that it is about to receive a command and the type of
command it will be. Immediate Commands, System-Level
Commands, and Font-Loading Commands each have their own
attention getter. The attention getter character is followed by a
command character that tells the Printer what action to take.
ASCII Char.
SOH
STX
ESC
When the Printer receives an Immediate Command it will cease
whatever it is doing and perform that command. Commands of all
types must be in this sequence:
1. Attention Getter
2. Command Character
3. Parameters that must be entered by the user (if any).
Command
Character
#
A
B
C
D
E
F
Allegro2
Setting Up Your Printer
Decimal
HEX
Value
Value
1
2
27
Table 2-5 Attention Getters
Must Enter
Parameters
N
N
N
N
N
N
N
Table 2-6 Immediate Commands
DOS
Prompt
01
Ctrl A
02
Ctrl B
1B
Ctrl [
Printer
Responds
Y
Y
N
N
N
Y
Y
Attention Getter For
Immediate Commands
System-Level Commands
Font-Loading Commands
Command
Reset
Send ASCII status string
Toggle pause
Cancel
SOH shutdown
Send batch quantity
Send status byte
23

Advertisement

Table of Contents
loading

Table of Contents