Chapter 5: Programming commands
94
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Select the QR code error correction level
ASCII
GS ( k ETX NUL 1 E n
Hexadecimal
1D 28 6B 03 00 31 45 n
Decimal
29 40 107 03 00 49 69 n
Value of n:
Function
Recovery Capacity%
30h
Selects Error correction level L
7
31h
Selects Error correction level M
15
32h
Selects Error correction level Q
25
33h
Selects Error correction level H
30
Note: QR code employs Reed-Solomon error correction to generate a series of error correction code words.
Set QR code data
ASCII
GS ( k qL qH 1 P 0 f1 . . . fk
Hexadecimal
1D 28 6B qL qH 31 50 30 f1….fk
Decimal
29 40 107 qL qH 49 80 48 f1 . . . fk
This command stores the QR code symbol data (f1... fk) in the symbol storage area.
qL and qH:
04h < (qL+ qH x 100h) < 1BB4; 0h < qL < FF; 0h < qH < 1B
f: 0h < f < FF
k = (qL + qH x 100h) – 03h
Note:
•
k bytes of f1…fk are processed as symbol data.
•
It is possible to encode to a QR code as follows. Be sure not to include anything except the following in the
f1…fk data:
Category of data
Characters it is possible to specify
Numerical Mode data
“0” ~ “9”
Alphanumeric Mode data “0”~“9”, “A”~ “Z”, SP, $, %, *, +, -, ., /, :
Kanji Mode data
Shift JIS value (Shift value from JISX0208)
8-bit Byte Mode data
00h ~ FFh
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...