21
Decimal:
27 90 54 12 12 1 0 0 1 22 49 50 51 52 53 54 55 56 57 48 49 50
Expected Result (not to scale):
QR CODE Specifications
Description
The code consists of black modules (square dots) arranged in a square pattern on a white
background. The information encoded may be made up of four standardized types ("modes") of data
(numeric, alphanumeric, byte / binary, Kanji), or through supported extensions, virtually any type of
data.
Character set
numeric, alphanumeric, byte / binary, Kanji
QR Code Models
Model 1 is the original specification.
Model 2 is an enhanced form of the symbology.
Error Correction
Levels
Ultra High Reliability Level (30% of codewords can be restored)
High Reliability Level (25% of codewords can be restored)
Standard Level (15% of codewords can be restored)
High Density Level (7% of codewords can be restored)
Data Modes
AUTO (do not need to specify the character mode)
MANUAL (need to specify the character mode.)
Elements per
symbol
Square dot/element with the following pixel multipliers: 1(none), 2, 4(default), 8, 16
Max. Characters
7366
QR Code Command Structure:
<ESC> – ‘z’ or ‘Z’ – ‘7’ – QR MODEL – ERROR CORRECTION – DATA MODE – MSB – LSB – PIXEL MULT - [User’s Data]
or
<ESC> – ‘z’ or ‘Z’ – ‘7’ – ‘1’ or ‘2’ – ‘H’, ‘Q’, ‘M’ or ‘L’ – ‘A’ or ‘M’ – MSB – LSB – PM - [User’s Data]
Parameters
1) ESC(0x1B)
2) 'Z'(0x5A) or 'z'(0x7A) - Enables\disables annotation
3) '7'(0x37) - Selects QR Code barcode symbology
4) '1'(0x31) or '2'(0x32) - selects model, where:
'1'(0x31) --- QR Code model 1 is the original specification while
'2'(0x32) --- QR Code model 2 is an enhanced form of the symbology (default and recommended)
5) 'L', 'M', 'Q' or 'H' - QR Code Error correction level, where:
'H' --- Ultra High Reliability Level
'Q' --- High Reliability Level
'M' --- Standard Level (default)
'L' --- High Density Level
6) 'A' or 'M' - QR Code Data Input Modes <AUTO, MANUAL>, where:
'A' --- AUTO (default)