
SPP-R200II
Rev. 1.03
7. Use of Windows Driver
7-1 Use of Visual Basic
This section contains example codes to control the printer (BIXOLON SPP-R200II) using
Windows driver with Visual Basic. Sample codes contained in the CD.
7-1-1 Windows Driver Selection
The following code is an example of the selection of the “BIXOLON SPP- R200II” Windows
Driver.
For Each prnPrinter In Printers
If prnPrinter.DeviceName = “BIXOLON SPP-R200II” Then
Set Printer = prnPrinter
Exit For
End If
Next
7-1-2 Test Printing
The following code is an example of the printing of Arial Test via the Windows font, and
FontA1x1Test via the printer font.
‘Print in Windows font
Printer.FontSize = 9
Printer.FontName = “Arial”
Printer.Print “Arial Test”
‘Print in printer font
Printer.FontSize = 8.5
Printer.FontName = “FontA1x1”
Printer.Print “FontA1x1Test”
Printer.EndDoc
Comentários a estes Manuais