Compact Aztec Code - bwipp/postscriptbarcode GitHub Wiki
Compact Aztec Code is a reduced form of the Aztec Code barcode that is used in applications where the space for the symbol is restricted.
Variants:
- Aztec Code is the larger, more popular variant.
- 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
- The data field can contain any extended ASCII data. 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
^NNN
in 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:
-
^FNC1
: FNC1 -
^ECI000000
to^ECI999999
: ECI indicators
-
- 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
and4
. By default the encoder will create a symbol with be minimal number of layers to encode the given data. - The readerinit option denotes that the symbol is used for programming the barcode reader. Reader programming is only compatible with 1-layer Compact Aztec Code symbols.
- The raw option denotes that the data field is providing the input as a pre-encoded bitstream suitable for direct low-level encoding.
Data: This is Compact Aztec Code
Options:
Encoder: azteccodecompact
Data: This is ^065ztec Code
Options: parse eclevel=50 ecaddchars=0
Encoder: azteccodecompact
Data: ABC123
Options:
Encoder: azteccodecompact