Datamax-O'Neil Class Series Programmer’s Manual User Manual
Page 206
Appendix G – Barcode Details
Class Series Programmer’s Manual
192
Where:
V6C3E2
Maximum 6 alphanumeric ASCII, international zip code
Primary Message
068
Country Code
001
Class
G
S
1Z1...
Secondary
Message
...
T
R
S
E
O
T
An example of the UPS 3.0 zip + 4 “32707-3270” without Message data format and message header:
1u0000001200120327073270
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
1
0.1
G
S
Y
G
S
G
S
G
S
UT
R
S
E
O
T
Where:
32707
5 digit ASCII, Zip code
Primary Message
3270
4 digit ASCII, +4 Zip code (not required)
068
Country Code
001
Class
G
S
1Z1...
Secondary
Message
...
T
R
S
E
O
T
U:
UPS MaxiCode, Modes 2 & 3 with Byte Count Specifier
Specified Length – The upper case U identifies a UPS MaxiCode bar code with a 4-digit string length
specifier. This allows values 0x00 through 0xFF to be included within the data strings without
conflicting with the DPL format record terminators. The four-digit decimal data
byte count
immediately follows the 4-digit column position field. This value includes all of the data following
the byte count field, but does not include itself.
<STX>L
D11<CR>
1U00000010001000051327895555840666this package<0x0D>is going to
Datamax<CR>
121100000000100Barcode U<CR>
E
From the example above, the bar code’s data stream,
1U00000010001000051327895555840666this
package<0x0D>is going to Datamax
, now includes a Byte Count
Specifier (the portion in bold), where 0051 equals the four-digit decimal data
byte count and includes all bytes that follow until the end of the bar code
data. Field termination is set by the byte count. <STX>, <CR>, and <0x0D>
all represent single byte values of hexadecimal 02, 0D, and 0D, respectively.
The UPS MaxiCode bar code produced encodes “327895555840666this
package<CR>is going to Datamax”, and prints a line of text: Barcode U.
Barcode U