Seiko TM-L60 Uživatelský manuál Strana 39

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 45
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 38
TITLE
TM Printer Driver
SHEET
REVISION
NO
User's Manual
1.61
NEXT
40
SHEET
39
EPSON
6.2.3. Printing Text
The following code prints a text string using a Windows font, and then prints another text string using a printer font. Each
string gives the name and size of the font being used.
6.2.4. Opening the Cash Drawer
The next example shows how to open the desired cash drawer at the desired speed.
'Print in Window s fon t
Printer.FontSize = 10
Printer.FontN am e = “T imes New Rom an
Printer.Print Printer.FontN am e + " " + Str(Printer.FontSize)
'Print in printer fon t
Printer.FontSize = 10
Printer.FontN am e = “2 0 cp i
Printer.Print Printer.FontN am e + " " + Str(Printer.FontSize)
Printer.EndDoc
Printer.FontSize = 10
'Set up the control font.
Printer.FontName = "control"
Printer.Print "A"
'Use special-function character to open the
cash drawer.
'A: Open drawer 1 at 50 ms.
'B: Open drawer 1 at 100 ms.
'C: Open drawer 1 at 150 ms.
'D: Open drawer 1 at 200 ms.
'E: Open drawer 1 at 250,ms.
'a: Open drawer 2 at 50ms.
'b: Open drawer 2 at 100ms.
'c: Open drawer 2 at 150ms.
'd: Open drawer 2 at 200ms.
'e: Open drawer 2 at 250 ms.
Printer.EndDoc
Zobrazit stránku 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 45

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

Žádné komentáře