I open a cash drawer that is connected to a posiflex POS printer (see code below) in VB6.
I want to know if it is possible to determine if the drawer is open or close. Any suggestions??
Public Sub OpenDrawer() Open "LPT1" For Output As #1 Print #1, Chr$(27); Chr$(112); Chr$(0) Close #1 End Sub