Code Font Usage - Star Micronics TSP100IIIU Software Manual

Table of Contents

Advertisement

3.6.4. 2D Code Font Usage
QR code can be specified up to 500 bytes. (It includes input data and punctuated marks in 500bytes.)
Sample programs of Visual Basic using 2D code is as follows;
QR Code Print Sample1:
Private Sub Command1_Click()
Printer.Font.Name = "Printer 17cpi Tall
Printer.Print "QR Code Test Print for VB 6.0"
Printer.Font.Name = "Printer 17cpi"
Printer.Print
Printer.Print "DATA:"
Printer.Print "http://www.star-m.jp/"
Printer.Print
Printer.Print "QR code:";
Printer.Font.Name = "QR_CNTL"
Printer.Print "M2";
Printer.Print "Em";
Printer.Print "S3"
Printer.Print "B1";
Printer.Print "2";
Printer.Font.Name = "DATA1"
Printer.Print Chr(&H35);
Printer.Print Chr(&H20);
Printer.Font.Name = "ESC_FONT"
Printer.Print "http://www.star-m.jp/";
Printer.Font.Name = "QR_CNTL"
Printer.Print "P"
Printer.EndDoc
End Sub
When the QR code data setting is set to manual data analysis, be sure to set the number of
blocks and the entered data type.
For information on the setting method, refer to the separate manual "STAR Line Mode
Command Specifications".
' QR_CNTL font setting
' Bar code model setting
' Error correction level setting (correction rate: 15%)
' Module size setting (size: 3 dot)
' Bar code data setting (manual data analysis) + number of blocks
' Alphanumeric characters (data type)
' DATA1 = 0x0000 - 0x005F
'
Change 0x35 → 0x15, 0x20 → 0x0
'
Number of bytes: 21 (0x15) + 0 (0x0) = 21 bytes
' ESC_FONT = 0x0020 - 0x007F
' Bar code data (21 bytes)
' QR_CNTL font setting
' Printed characters for bar code data
72
Software Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tsp100Tsp100iiibiTsp100iiilanTsp100iiiwTsp100eco

Table of Contents