BCD Series
Rev. 2.06
7. Use of Windows Driver
7-1 Use of Visual Basic
This section explains the use of the Windows Driver with Visual Basic to control a
customer display.
7-1-1 Windows Driver Selection
The following code is an example of the selection of the “BIXOLON BCD-1000” Windows
Driver.
For Each prnPrinter In Printers
If prnPrinter.DeviceName = “BIXOLON BCD-1000” Then
Set Printer = prnPrinter
Exit For
End If
Next
7-1-2 Text displaying
The following code displays a text string using a driver font. Each string gives the name
and size of the font being used.
‘Print in Windows font
Printer.FontSize = 7
Printer.FontName = “BCD 1st Line”
Printer.Print “BCD 1st Line”
Printer.EndDoc