BIXOLON SRP-352plusIII Uživatelský manuál Strana 44

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 46
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 43
SRP-352plusIII
Rev. 1.02
- 44 -
7. Windows Driver Application
7-1 Application with Visual Basic
This section contains example codes to control the printer 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 SRP-352plusIII
Windows Driver.
For Each prnPrinter In Printers
If prnPrinter.DeviceName = “BIXOLON SRP-352plusIIIThen
Set Printer = prnPrinter
Exit For
End If
Next
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.Print “Arial Test”
‘Print in printer font
Printer.FontSize = 8.5
Printer.FontName = “FontA1x1”
Printer.Print “FontA1x1 Test
Printer.EndDoc
Zobrazit stránku 43
1 2 ... 39 40 41 42 43 44 45 46

Komentáře k této Příručce

Žádné komentáře