Specifications

6-74
DC2 ';' n QR Code and Data Matrix Module Sizes
Code 12H 3BH n
2n11
Function Sets QR Code and Data Matrix module sizes by dot.
n: Number of dots on one side of the module.
Sets module sizes of QR Code and Data Matrix to n dots.
When a small value is set as the module size, some bar code readers may not read.
Set the module size to 4 dots or more for normal operation.
Default n=4
GS 'p' 1 model e v mode nl nh {DATA} QR Code Print
Code 1DH 70H 01H model e v mode nl nh {d1 d2•••dk}
1model2
e= 48H, 4CH, 4DH, 51H
0, 1v40
mode= 41H, 42H, 4BH, 4DH, 4EH
1nh x 256 + nl7089
Function Prints QR Code data based on the designated contents.
model :Designates a model.
e :Selects an error correction level.
'L' (4CH), 'M' (4DH), 'Q' (51H), 'H' (48H)
v :=0 Automatic selection (Selects a version according to input data number.)
1 v 40 Fixed version (model 1: up to 14)
mode :Designates a data mode
Mode Value Mode Name
'N' 4EH Numerical mode
'A' 41H Alphanumeric mode
'B' 42H 8-bits byte mode
'K' 4BH Kanji mode
'M' 4DH Mixed mode
nl
nh : Designates data number.
d :QR Code data. Set Kanji data in Shift JIS codes.
When out-of-range value is designated, this command is ignored and the subsequent data are
processed as normal data.
When a value of 7090 bytes or more is set, the subsequent data are processed as normal data.
The maximum value becomes less than 7089 bytes according to models, modes, and error
correction levels.
When data are designated more than the maximum value, the data are read and ignored.
If data is remaining in the line buffer, the printer prints bar code after sending data
When horizontal width of QR code (including quiet zone) exceed the print area, this command is
ignored.
The right and left margin is invalid.