Epson TM-U220 TM-U220 Technical Reference Guide - Page 92
Cash Drawer Control
View all Epson TM-U220 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 92 highlights
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" 'This"A" means "open the drawer1 with 50msec pulse." 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) 'This calling means "open the drawer1 with 100msec pulse." Note: Program needs to call "BiOpenMonPrinter" before calling "BiOpenDraewer." 5-4 Application Development Information Rev. H