Control Code Command Functions; Introduction; Attention-Getters - Datamax A-4310 Programmer's Manual

Class series
Hide thumbs Also See for A-4310:
Table of Contents

Advertisement

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
Immediate Commands
System-Level Commands
Font Loading Commands
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
SOH
STX
CR
ESC
[1]
"Count By"
[1]
See Label Formatting Commands, ^ set count by amount.
Note: Throughout this manual <SOH>, <STX>, <CR>, <ESC>, and ^, will be used to indicate the control codes.
The actual values will depend on whether standard or alternate control codes are enabled for the
particular application.
Class Series Programmer's Manual
ASCII Character
SOH
STX
ESC
Table 2-1: Control Code Listings
Standard
Alternate
0x01
0x5E
0x02
0x7E
0x0D
0x0D
0x1B
0x1B
0x5E
0x40
Table 2-2: Alternate Control Code Listings
Decimal Value
1
2
27
Alternate 2
Custom
User Defined
0x5E
User Defined
0x7E
User Defined
0x7C
User Defined
0x1B
User Defined
0x40
HEX Value
01
02
1B
Command Type
Control
System
Line Termination
Font Loading
Label Formatting
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents