Software Manual
58
3.6. 2D Code Printing Function (2D Code Fonts)
The 2D code printing function performs QR code or PDF417 printing using device fonts supported in
this driver.
QR code or PDF417 printing is realized with a combination of 2D code fonts
(”QR_CNTL”, ”PDF417”, ”DATA1”, ”DATA2”, and ”DATA3”) and control fonts (”ESC_FONT”
and ”ESC_FONT_KANJI”).
Each Font Function as follows;
Device Font
Name
Function
Details
Memo
QR_CNTL
Setting
QR commands
Output commands for QR
printing.
PDF417
Setting
PDF417
commands
Output commands for PDF417
printing.
DATA1
Setting
2D code data
\x20 - \x7F replace \x00 - \x5F
Output \x00 -\xFF
is possible.
DATA2
\x20 - \x7F replace \x60 - \xBF
DATA3
\x20 - \x5F replace \xC0 - \xFF
ESC_FONT
Output \x20 - \x7F
Output \x20 -\x7F
is possible.
3.6.1. Entering a 2D Code Font (QR Code)
Follow the steps below to describe a QR code.
(1) 2D code type setting
Only describe the parameters to be changed because the default value is set to each setting
item.
(2) 2D code data setting
Describe parameters and 2D code data following a 2D code data setting command.
(3) Obtaining 2D code expansion information (Option)
An error notification will be returned if any inconsistencies are detected in the settings made
in steps (1) and (2).
(4) 2D code printing
For information about commands, refer to the separate manual, “STAR Line Mode Command
Specifications".
Example: When generating a 2D code of "012345ABCD " with a QR code (correction rate:
25%):