Cash Drawer Control; Advanced Printer Driver; Drawer Open - Epson TM-U220 Reference Manual

Hide thumbs Also See for TM-U220:
Table of Contents

Advertisement

5.2 Cash Drawer Control

5.2.1 Advanced Printer Driver

5.2.1.1 Drawer Open

When you control a drawer which is connected to this printer using APD, you have 2 methods
to open the drawer. The first method is using "Control font," second is using "Status API."
Below is as example of a program (Visual Basic) to open a cash drawer using Control font.
'Execute open cash drawer1.
Printer.Font.Name = "control"
Printer.Print "A"
Below is as example of a program (Visual Basic) to open a cash drawer using Status API.
'call api to open the drawer1
rtn = BiOpenDrawer(m_hApi, EPS_BI_DRAWER_1, EPS_BI_PULSE_100)
Note: Program needs to call "BiOpenMonPrinter" before calling "BiOpenDraewer."
5-4 Application Development Information
'This"A" means "open the drawer1 with 50msec pulse."
'This calling means "open the drawer1 with 100msec pulse."
Rev. E

Advertisement

Table of Contents
loading

Table of Contents