Epson TM-U220 TM-U220 Technical Reference Guide - Page 94
ESC/POS
View all Epson TM-U220 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 94 highlights
Below are examples of programs that use events to check if the drawer has been opened or closed. [Main Program] Global DrawerFlag As Boolean If Not OPOSCashdrawer1.DrawerOpened Then DrawerFlag = True OPOSCashdrawer1.OpenDrawer While (DrawerFlag = True) 'This part uses timer management to check the status of DrawerFlag. DoEvents Wend End If [Event Management] Private Sub OPOSCashdrawer1_StatusUpdateEvent(ByVal As Long) If Data = False Then DrawerFlag = False End If End Sub 5.2.3 ESC/POS When you drive a cash drawer which is connected to this printer, please refer to "FAQ about ESC/POS command." About "FAQ about ESC/POS command," please contact your dealer or EPSON. 5.3 NV memory This printer has NV memory (Non-volatile). The data of NV memory remains after you turn off the power. The NV memory is available in two ways. 1. NV Bit-image Please refer "NV Bit-image Printing" (page 5-8) for detail of the function. 5-6 Application Development Information Rev. H