SRP-350II
Rev. 1.02
- 37 -
7-1-2 Text Printing
The following example code explains how to print texts using Windows Fonts and Device
Fonts.
‘Print in Windows font
Printer.FontSize = 9
Printer.FontName = “Arial”
Printer.Prin
t “Arial Test”
‘Print in printer font
Printer.FontSize = 9.5
Printer.FontName = “FontA1x1”
Printer.Print “FontA1x1 Font”
Printer.EndDoc
7-1-3 Barcode Printing
The following example code explains how to print the barcode (JAN8 (EAN)).
'Print Bar Code.
Printer.FontSize = 20
Printer.FontName = "Barcode4"
Printer.Print "1234567"
Printer.EndDoc
The following example code explains how to print the 2-D barcode (PDF417).
'Print Two-dimensional Codes.
Printer.FontSize = 9.5
Printer.FontName = "2D-Code1"
Printer.Print "Print Test PDF417"
Printer.EndDoc