Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Aztec Code

Terry Burton edited this page · 10 revisions

Symbologies Reference

Point of Sale

GS1 DataBar

Supply Chain

Two-dimensional Symbols

One-dimensional Symbols

Postal Symbols

Pharmaceutical Symbols

Less-used Symbols

GS1 Composite Symbols

Raw Symbols

Partial Symbols

Clone this wiki locally

Aztec Code

Aztec Code is a 2D matrix-style barcode symbology. It can encode full 256-character extended-ASCII.

Variants:

  • Aztec Runes are a set of small barcode symbols that are used for special applications.

Standards: ISO/IEC 24778, ANSI/AIM BC13 - ISS Aztec Code.

Data and Options

  • The data field can contain any extended ASCII data.
  • When the parse option is specified, any instances of ^NNN in the data field are replaced with their equivalent ASCII value, useful for specifying unprintable characters.
  • The eclevel option is used to specify the percentage of error correction to be applied when expanding the data, by default 23.
  • The ecaddchars option is used to specify how many additional error correction characters to apply the data once expanded by the eclevel percentage, by default 3.
  • The layers option is used to specify a particular number of layers in which to encode the data, between 1 and 32. By default the encoder will create a symbol with be minimal number of layers to encode the given data.
  • The format option is used to select between format=full and format=compact symbol types. By default the encoder will choose the most appropriate format to create a symbol of minimal size.
  • Deprecated: Use Aztec Runes instead. The format option can also be used to create Aztec Code "runes", using format=rune. In this case the rune symbol number should be given in the data field.
  • The readerinit option denotes that the symbol is used for programming the barcode reader.
  • The raw option denotes that the data field is providing the input as a pre-encoded bitstream suitable for direct low-level encoding.

Examples

0 0 moveto (This is Aztec Code) ()
/azteccode /uk.co.terryburton.bwipp findresource exec

0 0 moveto
(This is ^065ztec Code)
(parse eclevel=50 ecaddchars=0)
/azteccode /uk.co.terryburton.bwipp findresource exec

0 0 moveto (ABC123) (layers=3 format=full)
/azteccode /uk.co.terryburton.bwipp findresource exec

0 0 moveto (ABC123) (format=compact)
/azteccode /uk.co.terryburton.bwipp findresource exec

0 0 moveto
(00100111001000000101001101111000010100111100101000000110)
(raw)
/azteccode /uk.co.terryburton.bwipp findresource exec

Something went wrong with that request. Please try again.