CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS)
B-EP
Series
5-132
(10)
Connection
setting
For QR code, data can be divided into several codes. Even though the print space is
limited, divided codes can be printed there. The data can be divided into a max. of 16
codes. Parity data is obtained by XORing all input data in units of bytes before dividing.
The input data is calculated based on shift JIS for Kanji, or on JIS 8 for others.
Examples are shown below:
“0123456789 ” is divided into “0123,” “4567” and “89 .”
Code No. 1
No. of divided codes: 3
Parity data: 85
Data “0123”
Code No. 2
No. of divided codes: 3
Parity data: 85
Data “4567”
Code No. 3
No. of divided codes: 3
Parity data: 85
Data “89 ”
* The parity data is the XORed value for “0123456789 ”.
30 31 32 33 34 35 36 37 38 39 93 FA 96 7B = 85
(11) Data string to be printed
Drawing data can be programmed by designating the number of digits after the symbol
“=.” The maximum number of digits to be printed is 2000. (However, the number of
digits of data should be limited so the two-dimensional code can be printed within the 2-
inch head width.)