EasyManua.ls Logo

BIXOLON BCD Series - Practical Usage of Windows Driver; Visual Basic Driver Integration Examples

BIXOLON BCD Series
19 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BCD Series
Rev. 2.06
- 15 -
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

Related product manuals