Appendix G
In the four UPS 3.0 protocol examples that follow, Primary Message control characters GS will not be encoded in the MaxiCode symbol. All characters, the Secondary Message, with the exception of the leading GS, in are encoded.
Example 1: UPS 3.0 zip + 4 with Message data format and message header
1u0000001200120[)>RS01GS96841706672GS840GS001GS1Z12345675GSUPSNGS12345EGS0
89GSGS1/1GS10.1GSYGSGSGSUTRSEOT
Where:
[)>RS01GS96 | Message Header |
841706672 | Maximum 9 alphanumeric ASCII, Postal Code |
840 | Country Code |
001 | Class |
GS1Z1... |
|
...TRSEOT |
|
Primary message
Secondary message
Example 2: UPS 3.0 international postal code with Message data format and message header
1u0000001200120[)>RS01GS96V6C3E2GS068GS001GS1Z12345675GSUPSNGS12345EGS089G
SGS1/1GS10.1GSYGSGSGSUTRSEOT
Where:
[)>RS01GS96 | Message Header |
V6C3E2 | Maximum 6 alphanumeric ASCII, International Zip Code |
068 | Country Code |
001 | Class |
GS1Z1... |
|
...TRSEOT |
|
Primary message
Secondary message
Example 3: UPS 3.0 international postal code without Message data format and message header
1u0000001200120V6C3E2GS068GS001GS1Z12345675GSUPSNGS12345EGS089GSGS1/1GS10.
1GSYGSGSGSUTRSEOT
Where:
V6C3E2 | Maximum 6 alphanumeric ASCII, International Zip Code |
068 | Country Code |
001 | Class |
GS1Z1... |
|
...TRSEOT |
|
Primary message
Secondary message
Example 4: UPS 3.0 zip + 4 postal code without Message data format and message header
1u0000001200120327073270GS068GS001GS1Z12345675GSUPSNGS12345EGS089GSGS1/1GS1
0.1GSYGSGSGSUTRSEOT
Where:
32707 | 5 digit ASCII, Zip Code |
3270 | 4 digit ASCII, + 4 Zip Code (not required) |
068 | Country Code |
001 | Class |
GS1Z1... |
|
...TRSEOT |
|
Primary message
Secondary message
113 |