beautypg.com

Datamax-O'Neil DPL Programmer’s Manual User Manual

Page 209

background image

Appendix G – Bar Code Details

201

u:

UPS MaxiCode, Modes 2 & 3

The printer supports MaxiCode as defined in the AIM Technical Specification. The

following examples illustrate various label format record message syntaxes for encoding
data as MaxiCode. In the following examples, special formatting is used to denote

special ASCII characters as shown:

Symbol

Hexadecimal Value

R

S

1E

G

S

1D

E

O

T

04

(Printer message syntax allows for

E

O

T

to be

substituted with or the use of both

E

O

T

and

.)


UPS Modes 2 & 3 Explicit

The data stream can force Mode 2 or 3 encoding by placing #2 or #3, respectively,
before the data, as shown in the example below. If this is not specified, the printer

chooses the best mode.

1u0000001200120#3[)>

R

S

01

G

S

96123456

G

S

068

G

S

001

G

S

1Z12345675

G

S

UPSN

G

S

12345E

G

S

0

89

G

S

G

S

1/1

G

S

10.1

G

S

Y

G

S

G

S

G

S

UT

R

S

E

O

T

This example will print encoding the MaxiCode symbol in Mode 3.

L
D11
1u0000001200120#3[)>

R

S

01

G

S

96123456

G

S

068

G

S

001

G

S

1Z12345675

G

S

UPSN

G

S

12345E

G

S

089

G

S

G

S

1/

1

G

S

10.1

G

S

Y

G

S

G

S

G

S

UT

R

S

E

O

T

121100000000100Barcode u
E

Where:

#3

Forces Mode 3 encoding

[)>

R

S

01

G

S

96

Message Header

123456

Maximum 9 alphanumeric ASCII, postal

code

Primary

Message

068

Country Code

001

Class

G

S

1Z1...

Secondary

Message

...T

R

S

E

O

T


Examples

In the UPS 3.0 protocol examples that follow, Primary Message control characters

G

S

will

not be encoded in the MaxiCode symbol. All characters, the Secondary Message, with

the exception of the leading

G

S

, in are encoded.

This manual is related to the following products: