Skip to content

QR Code

Terry Burton edited this page Jul 20, 2024 · 34 revisions

QR Code

The QR Code symbology is a 2D matrix-style barcode symbology that can encode full 256 character extended-ASCII.

Also known as: Quick Response Code.

Variants:

Standards: ISO/IEC 18004, JIS X 0510, ITS - QR Code, AIM ISS - QR Code.

Data and Options

  • 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. Recommendation: Use GS1 QR Code for encoding GS1 AI syntax data.
    • ^ECI000000 to ^ECI999999: ECI indicators
  • The eclevel option is used to specify the error correction level:
    • eclevel=L - Low
    • eclevel=M - Medium (default)
    • eclevel=Q - Quality
    • eclevel=H - High
  • The fixedeclevel option will prevent the error correction level from being opportunistically raised when a better fix to the current matrix is possible.
  • The version option is used to specify the size of the symbol, 1 to 40.
  • If unspecified the encoder will select the version of the symbol that is the minimum size to represent the given data at the selected error correction level.
  • Deprecated: The suppresskanjimode option will prevent the use of Kanji Mode internal encodation. Some readers erroneously consider a Kanji Mode section as an indication that the affected part of the message should be interpreted using a Shift-JIS character set rather than as a data compaction strategy. There's nothing that can be done other than to disable the use of Kanji Mode data compaction for symbols intended to be read by such broken readers.
  • Deprecated: The format option is used to specify the symbol type, either:
    • full (default)
    • micro: Use Micro QR Code for Micro QR Code symbols.
    • rmqr: The standard is still in draft.

Examples

Data:    QR Code
Options: 
Encoder: qrcode
Data:    QR ^067ode
Options: parse
Encoder: qrcode

Data:    QR CODE 1234
Options: version=10 eclevel=Q
Encoder: qrcode


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