Select The Qr Code Error Correction Level; Set Qr Code Data - CognitiveTPG A776 ColorPOS Programming Manual

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776 ColorPOS:
Table of Contents

Advertisement

94
Chapter 5: Programming commands

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:
30h
31h
32h
33h
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:
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
Numerical Mode data
Alphanumeric Mode data
Kanji Mode data
8-bit Byte Mode data
A776 (B780) Programming Guide
Function
Selects Error correction level L
Selects Error correction level M
Selects Error correction level Q
Selects Error correction level H
04h < (qL+ qH x 100h) < 1BB4; 0h < qL < FF; 0h < qH < 1B
Characters it is possible to specify
"0" ~ "9"
"0"~"9", "A"~ "Z", SP, $, %, *, +, -, ., /, :
Shift JIS value (Shift value from JISX0208)
00h ~ FFh
Recovery Capacity%
7
15
25
30
A776-PG00001 D 07/13

Advertisement

Table of Contents
loading

Table of Contents