mouradoualha
Programmer
hello
i have a cash drawer to open in the commandbutton click event
what command i have to use?
i have a cash drawer to open in the commandbutton click event
what command i have to use?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Strtofile(chr(7),'cashdrawer.open')
Copy file cashdrawer.open to Com1:
FUNCTION OpenUSBDrawer()
TRY
oDrawer = createobject("OPOS.CashDrawer")
oDrawer.open("CD554")
oDrawer.DeviceEnabled = .t.
oDrawer.OpenDrawer()
oDrawer.DeviceEnabled = .f.
release oDrawer
CATCH TO loexp
ENDTRY
ENDFUNC