Epson C31C213A8941 Podręcznik użytkownika - Strona 39

Przeglądaj online lub pobierz pdf Podręcznik użytkownika dla Drukarka Epson C31C213A8941. Epson C31C213A8941 45 stron. Tm printer driver

Epson C31C213A8941 Podręcznik użytkownika

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.
' Pri nt i n W i ndow s f ont
Pri nt er. Font Si ze = 10
Pri nt er. Font N am e = " Ti m es N ew R om an"
Pri nt er. Pri nt Pri nt er. Font N am e + " " + St r( Pri nt er. Font Si ze)
' Pri nt i n pri nt er f ont
Pri nt er. Font Si ze = 10
Pri nt er. Font N am e = " 20 cpi "
Pri nt er. Pri nt Pri nt er. Font N am e + " " + St r( Pri nt er. Font Si ze)
Pri nt er. E ndD oc

6.2.4. Opening the Cash Drawer

The next example shows how to open the desired cash drawer at the desired speed.
Printer.FontSize = 10
Printer.FontName = "control"
Printer.Print "A"
Printer.EndDoc
TITLE
EPSON
'Set up the control font.
'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.
TM Printer Driver
User's Manual
SHEET
NO
REVISION
NEXT
SHEET
1.61
40
39