Ok, here is a bit of code out of our invoicing module
for firing a cash draw... (foxpro for dos)
Fires 2 Different ways.... If cm_getreg("POS"

= "O"
is firing though an OKIPos 80 Thermal receipt printer
and the other is firing though a star receipt printer..
(star SP300's & TSP 300's) or via a com kicker... note: com kickers seem to need a charge before going into fox.... i.e. in the autoexec.bat echo ^G> COM1 or something like that to do the first fire...
also you may need to set the com port speed up using the
mode command in dos... (don't know if it is needed for the
cash draw but is needed to print to our receipt printers)
Zim
********************************************************
Procedure OpenDrawer
* Open the cash drawer. Attaches as a printer then sends Ctrl-G to open
* the drawer
m.currprint = SYS(6)
set print to (m.cashdrawer)
IF SYS(13) <> "OFFLINE"
If cm_getreg("POS"

= "O"
??? chr(27)+'p'+chr(0)+"AA"
Else
??? CHR(7)
Endif
ELSE
?? CHR(7)
WAIT "Cannot open Cash Drawer, Please Check Connections and Power" WINDOW
ENDIF
SET PRINTER TO (m.currprint)