Setting Up Your Printer
Allegro2
23
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.
Decimal
Value
HEX
Value
DOS
Prompt
Attention Getter For
SOH
1
01
Ctrl A
Immediate Commands
STX
2
02
Ctrl B
System-Level Commands
ESC
27
1B
Ctrl [
Font-Loading Commands
Table 2-5 Attention Getters
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
Must Enter
Parameters
Printer
Responds
Command
#
N
Y
Reset
A
N
Y
Send ASCII status string
B
N
N
Toggle pause
C
N
N
Cancel
D
N
N
SOH shutdown
E
N
Y
Send batch quantity
F
N
Y
Send status byte
Table 2-6 Immediate Commands
Summary of Contents for Allegro 2
Page 1: ...Allegro 2 Operator s Manual ...
Page 4: ......
Page 6: ......
Page 11: ...Getting Started Allegro2 3 Figure 1 3 Rear View ...
Page 22: ...Getting Started 14 Allegro2 ...
Page 38: ...Setting Up Your Printer 30 Allegro2 ...
Page 73: ...Troubleshooting Allegro2 65 ...
Page 81: ...Maintenance Allegro2 73 ...
Page 82: ......
Page 84: ...Maintenance A 2 Allegro2 ...
Page 86: ......
Page 98: ...D 2 Allegro2 ...
Page 110: ...Specifications F 8 Allegro2 ...
Page 114: ......
Page 115: ......