Star Micronics Line Thermal/Dot Printer User Manual
Page 152

Rev. 0.00
3-140
STAR LIne Mode Command Specifications
3-11) 2-dimensional Bar Codes QR Code Command Details
* QR code is a registered trademark of DENSO WAVE Incorporated.
This command prints 2-dimensional bar codes of QR code.
Commands for 2-dimensional bar codes QR code are separated into the following four functions.
1) Bar code type setting
(
2) Bar code data setting
(
3) Page mode setting (Reserved)
4) Bar code printing (
5) Get bar code expansion information
(
The details of the functions are outlined below.
1) Bar code type setting
These commands set the bar code type.
These are all set to default. Only use them if you wish to change them. (Refer to following details for settings.)
Specify model using
Currently supported models are model 1 and model 2. To improve tolerance to distortion when codes are large on
model 2, an alignment pattern has been added to the structure.
Specify the error correction level using
It is possible to read QR code even part of the data is corrupted, using error correction.
If this level is raised, the bar code size is increased because there is more backup information.
Specify the size of the cell (one square region that composes the QR code) using
The vertical and horizontal sizes for the QR code are equal length squares, but the size of the bar code image gener-
ated is determined by the cell size.
See Appendix 7 for details on the actual printed QR code size.
These are individual settings, so the following errors may occur even if there are no problems. In such cases, the bar
code will not be generated, and the (4) print command ((
be returned with (5) get bar code expansion information.
• An error occurs when generating the bar code by the combination of settings.
• When the print data exceeds the currently set print region.
Therefore, it is recommended to use the (5) Get bar code expansion information command (
means for checking for these errors prior to printing.
Cell
Alignment Pattern