Epson TM-U325D Benutzerhandbuch
TITLE
TM Printer Driver
SHEET
REVISION
REVISION
NO
User's Manual
1.61
NEXT
41
SHEET
40
EPSON
6.2.5. Cutting the Paper
The following code causes the printer to cut the paper.
6.2.6. Printing a Bar Code
The next example shows how to print out a bar code.
‘
Set H R I characters
Printer.FontSize = 10
'
Set up the control font.
Printer.FontN am e = "control"
Printer.Print "q"
'
U se special-function character to select the
bar-code type.
'
p: N o H R I characters
'
q: Include H R I characters above bar code
(using font A ).
'
r: Include H R I characters below bar code
(using font A ).
'
s: Include H R I characters above bar code
(using font B ).
'
t: Include H R I characters below bar code
(using font B ).
'
Print the bar code.
Printer.FontSize = 42
'
Set the bar-code font size.
Printer.FontN am e = "ITF"
'
Select the bar-code printer font.
Printer.Print "123456"
'
Print the bar-code data.
Printer.E ndD oc
Printer.FontSize = 10
'Set up the control font.
Printer.FontName = "control"
Printer.Print "F"
Printer.Print "F"
'Use special-function character to cut the
paper.
'F: Full cut
'P: Partial cut
Printer.EndDoc