TH210
Programmer’s Guide
81
Select error correction level for QR Code
ASCII
Hexadecimal
Decimal
GS ( k ETX NUL 1 E n
1D 28 6B 03 00 31 45 n
29 40 107 3 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.
Store symbol data for QR Code
ASCII
Hexadecimal
Decimal
GS ( k qL qH 1 P 0 f1 . . . fk
1D 28 6B qL qH 31 50 30 f1….fk
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, which is
located in RAM in font memory (command is ignored if no memory is free).
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.
when using manual mode, data size must also account for the leading type byte, the
delimiters (0x2C), and any headers (if using binary blocks)
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
Type byte (Manual mode)
Numerical Mode data
“0” ~ “9”
N’ (0x4E)
Alphanumeric Mode data
“0”~“9”, “A”~ “Z”, SP, $, %, *, +, -, ., /, :
‘A’ (0x41)
Kanji Mode data
Shift JIS value (Shift value from
JISX0208) ‘
‘K’ (0x4B)
8-bit Byte Mode data
00h ~ FFh
‘B’ (0x42)*
*Binary data require a 4-byte field following the type byte to specify length of data block
Sample Auto Mode Data:
1D 28 6B 03 00 31 44 31
‘ Set auto parsing
1D 28 6B 0D 00 31 50 30
‘ Set data size
53 54 31 2D 35 36 37 38 39 30
‘ Data (letters, symbols, numbers)
Содержание TH210
Страница 1: ...TH210 Thermal Printer Programmer s Guide December 2015 ...
Страница 123: ...TH210 Programmer s Guide 119 Character code table Page 1 PC850 Multilingual Latin I ...
Страница 124: ...TH210 Programmer s Guide 120 Character code table Page 2 PC852 Latin II ...
Страница 125: ...TH210 Programmer s Guide 121 Character code table Page 3 PC860 Portuguese ...
Страница 126: ...TH210 Programmer s Guide 122 Character code table Page 4 PC863 Canadian French ...
Страница 127: ...TH210 Programmer s Guide 123 Character code table Page 5 PC865 Nordic ...
Страница 128: ...TH210 Programmer s Guide 124 Character code table Page 6 PC858 Multilingual I Euro ...
Страница 129: ...TH210 Programmer s Guide 125 Character code table Page 7 PC866 Russian ...
Страница 130: ...TH210 Programmer s Guide 126 Character code table Page 8 WPC1252 Latin I ...
Страница 131: ...TH210 Programmer s Guide 127 Character code table Page 9 PC862 Hebrew ...
Страница 132: ...TH210 Programmer s Guide 128 Character code table Page 10 PC737 Greek ...
Страница 133: ...TH210 Programmer s Guide 129 Character code table Page 11 PC874 Thai ...
Страница 134: ...TH210 Programmer s Guide 130 Character code table Page 12 PC857 Turkish ...
Страница 135: ...TH210 Programmer s Guide 131 Character code table Page 13 WPC1251 Cyrillic ...
Страница 136: ...TH210 Programmer s Guide 132 Character code table Page 14 WPC1255 Hebrew ...
Страница 137: ...TH210 Programmer s Guide 133 Character code table Page 15 KZ_1048 Kazakh ...
Страница 138: ...TH210 Programmer s Guide 134 Character code table Page 16 WPC1254 Turkish ...
Страница 139: ...TH210 Programmer s Guide 135 Character code table Page 17 WPC1250 Central Europe ...
Страница 140: ...TH210 Programmer s Guide 136 Character code table Page 18 WPC28591 Latin 1 ...
Страница 141: ...TH210 Programmer s Guide 137 Character code table Page 19 WPC28592 Latin 2 ...
Страница 142: ...TH210 Programmer s Guide 138 Character code table Page 20 WPC28599 Turkish ...
Страница 143: ...TH210 Programmer s Guide 139 Character code table Page 21 WPC28605 Latin 9 ...
Страница 144: ...TH210 Programmer s Guide 140 Character code table Page 22 PC864 Arabic ...
Страница 145: ...TH210 Programmer s Guide 141 Character code table Page 23 PC720 Arabic ...
Страница 146: ...TH210 Programmer s Guide 142 Character code table Page 24 WPC1256 Arabic ...
Страница 147: ...TH210 Programmer s Guide 143 Character code table Page 25 WPC28596 Arabic ...
Страница 148: ...TH210 Programmer s Guide 144 Character code table Page 26 KATAKANA Asia ...
Страница 149: ...TH210 Programmer s Guide 145 Character code table Page 27 PC775 Baltic ...
Страница 150: ...TH210 Programmer s Guide 146 Character code table Page 28 WPC1257 Baltic ...
Страница 151: ...TH210 Programmer s Guide 147 Character code table Page 29 WP28594 Baltic ...