Brother MW-260 User Manual
Page 44
44
3. Structured append defines if you have split the data into sets or not. Please input “0” if you have not split
and “1” if you have split the data. 4. Order number of code, 5. Division number of code, and 6. Parity data
will be ignored if “0” is set for Structured append. Please also input “0” for them as a dummy data.
4. Order number of code defines the order of the ESC/P command for the QR Code. For example, the
data is split into 4 datasets. If the number is “2”, the data is the second dataset, and if it is “4”, then it is
the fourth dataset.
5. Division number of code defines the number of datasets.
6. Parity data is data which is checked with the original print data (not divided) by byte. (EX-OR by byte)
It shows that codes are combined together by inputting the data to the divided QR Code ESC/P command.
* EX-OR by byte
It means to take XOR by byte.
For example, “1234” is 0x31,0x32,0x33,0x34 in hex.
XOR of 0x31 and 0x32 0011 0001 ^= 0011 0010 result 0000 0011 ( 0x03 )
XOR of 0x03 and 0x33 0000 0011 ^= 0011 0011 result 0011 0000 ( 0x30 )
XOR of 0x30 and 0x34 0011 0000 ^= 0011 0100 result 0000 0100 ( 0x04 )
Therefore, the parity is 0x04.
*The QR code will not be created if the parity data is not correct.
Conclusion
Condition – text data: “123456789”
cell size: 4 dot
MODEL2
Error correction level: standard
Input data method: automatically input method
Print (no combination)
ESC i Q 0x04 0x02 0x00 0x00 0x00 0x00 0x02 0x00 “123456789”
\\
Print (with combination – divide into 3 data) parity for 123456789 will be 0x31.
ESC i Q 0x04 0x02 0x01 0x01 0x03 0x31 0x02 0x00 “123”
\\\
ESC i Q 0x04 0x02 0x01 0x02 0x03 0x31 0x02 0x00 “456”
\\\
ESC i Q 0x04 0x02 0x01 0x03 0x03 0x31 0x02 0x00 “789”
\\\
[Bar code data]
The following half-width alphabet character is necessary when you choose data input method - “manual
input method”.