-
-
Notifications
You must be signed in to change notification settings - Fork 79
MaxiCode
The MaxiCode barcode symbology is a 2D barcode based on a hexagonal matrix surrounding a bulls eye pattern. It can encode a structured carrier message and full 256 character extended-ASCII.
Also known as: UPS Code, Code 6, Dense Code.
Standards: ISO/IEC 16023, ANSI/AIM BC10 - ISS MaxiCode.
- The mode option is used to specify how the data is structured in the symbol:
-
mode=2- Formatted data containing a Structured Carrier Message with a numeric (US domestic) postal code. -
mode=3- Formatted data containing a Structured Carrier Message with an alphanumeric (international) postal code. -
mode=4- Unstructured extended ASCII data using standard error correction. -
mode=5- Unstructured extended ASCII data using enhanced error correction. -
mode=6- Barcode reader programming.
-
- If mode is unspecified the encoder will default to selecting
mode=5if the encoded length of the input data permits enhanced error correction, otherwise it will selectmode=4which provides standard error correction. - The default interpretation of data by readers is in accordance with ISO/IEC 8859-1. When supported by the receiver characters from other code pages can be encoded using Extended Channel Interpretation (ECI).
- When the parse option is specified, any instances of
^NNNin the data field are replaced with their equivalent ASCII value, useful for specifying unprintable characters. - When the parsefnc option is specified, non-data function characters can be specified by escape sequences:
-
^ECI000000to^ECI999999: ECI indicators
-
- If
mode=4,mode=5ormode=6the data field may contain any extended ASCII data. - If
mode=2ormode=3the data field must begin with a properly structured carrier message, followed by any extended ASCII data. - The structured carrier message contains a postal code, three-digit class of service and a three-digit ISO country code separated by GS (ASCII 29) characters. It is formatted in the data field as follows:
[postal code]^029[country code]^029[service class]^029. Ifmode=2the postcode must be numeric, whilst ifmode=3the postcode may contain up to six digits, upper case letters and spaces. - Alternatively, messages may begin with the special application field identifier "[)>{RS}01{GS}yy" where "{RS}" represents ASCII value 30, "{GS}" represents ASCII value 29 and "yy" is a two-digit year. In parse mode this is represented as
[)>^03001^029yy. Ifmode=2ormode=3this must be immediately followed by the structured carrier message.
- Dark hexagons are drawn 0.12mm narrower than the module pitch, as the specification requires, and inkspread reduces them further, so
inkspread=0gives the nominal dimensions. - MaxiCode is a fixed-size symbology so strictspec bounds the X-dimension to the permitted symbol width of 24mm to 27mm.
- Bitmap output should use gridfit, which follows the practical printing guidance of ISO/IEC 16023 Annex J: whole device pixels per module and, at resolutions below about 850 DPI, pixel fonts for the hexagons and finder pattern.
Identical symbols encoding unstructured data, the latter using the parse option:
Data: This is MaxiCode
Options:
Encoder: maxicode
Data: This is Maxi^067ode
Options: parse
Encoder: maxicode
A mode 2 symbol with a numeric postal code:
Data: 152382802^029840^029001^0291Z00004951^029UPSN^02906X610\
^029159^0291234567^0291/1^029^029Y\
^029634 ALPHA DR^029PITTSBURGH^029PA^029^004
Options: mode=2 parse
Encoder: maxicode
A mode 3 symbol with an alphanumeric postal code:
Data: ABC123^029840^029001^0291Z00004951^029UPSN^02906X610\
^029159^0291234567^0291/1^029^029Y\
^029634 ALPHA DR^029PITTSBURGH^029PA^029^004
Options: mode=3 parse
Encoder: maxicode
A mode 2 symbol with an application field identifier:
Data: [)>^03001^02996152382802^029840^029001^0291Z00004951\
^029UPSN^02906X610^029159^0291234567^0291/1^029^029Y\
^029634 ALPHA DR^029PITTSBURGH^029PA^029^004
Options: mode=2 parse
Encoder: maxicode
Home | Download | Documentation (PDF) | Source | Support | Issues | Online Barcode Generator
Point of Sale
GS1 DataBar
- GS1 DataBar Omnidirectional
- GS1 DataBar Stacked Omnidirectional
- GS1 DataBar Expanded
- GS1 DataBar Expanded Stacked
- GS1 DataBar Truncated
- GS1 DataBar Stacked
- GS1 DataBar Limited
- GS1 North American Coupon Code
Supply Chain
- EAN-14
- ITF-14
- SSCC-18
- GS1-128
- GS1 DataMatrix
- GS1 QR Code
- GS1 Digital Link Data Matrix
- GS1 Digital Link QR Code
- GS1 DotCode
Two-dimensional Symbols
- Aztec Code
- Compact Aztec Code
- Aztec Runes
- Data Matrix
- Data Matrix Rectangular
- Data Matrix Rectangular Extension
- DotCode
- Han Xin Code
- PDF417
- Compact PDF417
- MicroPDF417
- QR Code
- Micro QR Code
- Rectangular Micro QR Code
- Swiss QR Code
One-dimensional Symbols
Postal Symbols
- Australia Post
- Deutsche Post Identcode
- Deutsche Post Leitcode
- Japan Post
- MaxiCode
- Royal Mail
- Royal Mail Mailmark
- Royal TNT Post
- USPS Intelligent Mail
- USPS POSTNET
- USPS PLANET
- USPS FIM symbols
Pharmaceutical Symbols
- Italian Pharmacode
- Pharmacode
- Two-track Pharmacode
- PZN
- HIBC Code 39
- HIBC Code 128
- HIBC PDF417
- HIBC MicroPDF417
- HIBC QR Code
- HIBC Data Matrix
- HIBC Data Matrix Rectangular
- HIBC Codablock F
- HIBC Aztec Code
Less-used Symbols
- BC412
- Channel Code
- Codabar
- Codablock F
- Code 11
- Code 16K
- Code 25
- Ultracode
- IATA 2 of 5
- Marks & Spencer
- Matrix 2 of 5
- Datalogic 2 of 5
- COOP 2 of 5
- Code 49
- Code One
- MSI Plessey
- Plessey
- PosiCode
- Telepen
- Telepen Numeric
- EAN-13 Composite
- EAN-8 Composite
- UPC-A Composite
- UPC-E Composite
- GS1 DataBar Omnidirectional Composite
- GS1 DataBar Stacked Omnidirectional Composite
- GS1 DataBar Expanded Composite
- GS1 DataBar Expanded Stacked Composite
- GS1 DataBar Truncated Composite
- GS1 DataBar Stacked Composite
- GS1 DataBar Limited Composite
- GS1-128 Composite
Raw Symbols
Partial Symbols