UniPRT SDK  v1.0.0.0
UniPRT.Sdk.LabelMaker.Interfaces.IMaxicodeMsgStructured Interface Reference

Maxicode barcode data. Maxicode Free Form carrier message. Only applies to Mode 2 and 3. More...

Inheritance diagram for UniPRT.Sdk.LabelMaker.Interfaces.IMaxicodeMsgStructured:
UniPRT.Sdk.LabelMaker.Interfaces.IMaxicodeData UniPRT.Sdk.LabelMaker.Interfaces.AMaxicodeMsgStructured UniPRT.Sdk.LabelMaker.PGL.MaxicodeMsgStructured UniPRT.Sdk.LabelMaker.TSPL.MaxicodeMsgStructured

Properties

string CountryCode [get, set]
 
string Data [get]
 The barcode data that includes the primary message + secondary messages to be encoded in the barcode.
 
Enum Mode [get, set]
 The Mode used to state the format of the barcode data. See MaxicodeModeEnum for possible supported modes.
 
string PostalCode [get, set]
 
string RemainingMsg [get, set]
 
string ServiceClass [get, set]
 

Detailed Description

Maxicode barcode data. Maxicode Free Form carrier message. Only applies to Mode 2 and 3.

Modes 2, 3 "structured carrier message" requires fields for postal code, country code, and service class.

  • Message format typically encoded as follows:
    • <primaryMsg><secondaryMsg> = <postalCode>Gs<countryCode>Gs<serviceClass>Gs<secondaryMsg>EOT
  • postal code (6-9 chars), country code (3 digits), service class (3 digits)
    • Mode 2 = US: up to 9 digit postal code (all numeric)
    • Mode 3 = Canada: 6 digit postal code (alphanumeric) Where:

Gs: Group Separator (0x1D)

  • EOT: End Of Transmit (0x04)