beautypg.com

Datamax-O'Neil Class Series II Programmer’s Manual User Manual

Page 24

background image

Control Code Command Functions

10

Class Series 2 Programmer’s Manual

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 Kc command or, where applicable, the KD command)
requires the substitution of Standard Control Characters with Alternate Control Characters in
what is otherwise a normal data stream.

Control

Character

Standard

Alternate

Alternate 2

Custom

Command

Type

SOH 0x01 0x5E 0x5E

User Defined

Control

STX

0x02

0x7E

0x7E

System

CR

0x0D

0x0D

0x7C

Line Termination

ESC

0x1B

0x1B

0x1B

Font Loading

“Count By”

[1]

0x5E 0x40 0x40

Label Formatting

[1]

See Label Formatting Commands, ^ set count by amount.

Table 2-3: Alternate Control Code Listings


Throughout this manual , , , , and ^ will be used to indicate control
codes. The actual values will depend on whether standard or alternate control codes are

enabled for the particular application.


Alternate Line Terminator Example: Alternate Control Codes provide for substitution of
the line terminator, as well as the control characters listed above. For example using

Alternate 2, the line terminator (0x0D) is replaced by | (0x7C). The following is a
sample label format data stream for a printer configured for Alternate-2 Control Codes:

~L|1911A10001000101234560|X|~UT01ABCDE|~G|


This manual is related to the following products: