Defining Bar Code Options 4-9
Defining the MaxiCode Options Tag (Optional)
Use the Options tag to define MaxiCode-specific information.
Valid values include: a 32-bit unsigned decimal number.
It contains the following attribute: mode.
Syntax <Options mode=”value” />
mode Select the MaxiCode mode. The default is 8. Options:
Superceded by modes 2 and 3.
Message
Structured shipping data, with a numeric
postal code.
3 Structured Carrier
Message
Structured shipping data, with a numeric
postal code.
Standard text mode with enhanced error
correction.
6 Reader Program Data is designed to program the
scanner/barcode reader.
Auto-detect between modes 0, 2, and 3.
To enter data for Modes 2 or 3, use the <Data> tag.
Defining the Data Tag (Required)
The Data tag contains the data for MaxiCode Mode 2 or Mode 3 bar codes.
Valid values include: Any Unicode string less than 2K characters.
It contains the following attributes: Year, PostalCode, CountryCode, ServiceClass,
TrackingNumber, OriginCarrier, ShipperNumber, DayOfPickup, ShipmentID, PackageCount,
Weight, AddressValidation, StreetAddress, City, and State.
Note: These attributes are case sensitive.
Syntax <Data Year=”value” PostalCode=”value” CountryCode=”value”
ServiceClass=”value” TrackingNumber=”value”
OriginCarrier=”value” ShipperNumber=”value” DayOfPickup=”value”
ShipmentID=”value” PackageCount=”value” Weight=”value”
AddressValidation=”value” StreetAddress=”value” City=”value”
State=”value” />
Year Two digit year identifier. The default is 11.
PostalCode Zip or postal code, maximum of nine characters. If this field is numeric, use
Mode 2; otherwise, use Mode 3. The default is “ “.
CountryCode Three digit ISO country code. The default is “ “.
ServiceClass Three digit class of service code. The default is “ “.
TrackingNumber Package tracking number. The default is “ “.
OriginCarrier Origin carrier SCAC. The default is “ “.
ShipperNumber UPS shipper number. The default is “ “.
DayOfPickup Julian day of pickup. The default is “ “.
ShipmentID The shipment identifier. The default is “ “.
PackageCount The count and identifier of this package in this format: 1/1, 2/5, etc. The
default is “ “.
Weight Package weight. The default is “ “.