Datamax-ONeil A-Class Programmer's Manual page 229

Class series ii
Table of Contents

Advertisement

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
G
S
E
O
T
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[)>
G
G
G
G
89
1/1
10.1
S
S
S
S
This example will print encoding the MaxiCode symbol in Mode 3.
<STX>L
D11<CR>
1u0000001200120#3[)>
G
G
G
G
G
1
10.1
Y
UT
S
S
S
S
S
121100000000100Barcode u<CR>
E
Where:
Forces Mode 3 encoding
#3
96 Message Header
R
G
[)>
01
S
S
Maximum 9 alphanumeric ASCII, postal
123456
code
Country Code
068
Class
001
G
1Z1...
S
R
E
...T
O
S
T
Examples
In the UPS 3.0 protocol examples that follow, Primary Message control characters
not be encoded in the MaxiCode symbol. All characters, the Secondary Message, with
the exception of the leading
Class Series 2 Programmer's Manual
Appendix G – Bar Code Details
1E
1D
(Printer message syntax allows for
04
substituted with <CR> or the use of both
<CR>.)
R
G
01
96123456
S
S
G
G
G
R
E
Y
UT
O
S
S
S
S
T
R
G
01
96123456
S
S
R
E
O
S
T
G
, in are encoded.
S
G
G
G
068
001
1Z12345675
S
S
S
G
G
G
068
001
1Z12345675
S
S
S
Primary
Message
Secondary
Message
E
O
to be
T
E
O
and
T
G
G
UPSN
12345E
S
S
G
G
G
G
UPSN
12345E
089
S
S
S
G
G
0
S
G
1/
S
S
will
S
215

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents