This script sends the character "U" to the COM port of a cash draw set to 9600/N/8/1
This approach should work on later versions of Windows.
According to this table:
^G (control+G) = 7
So change the CoMWrite() line below to read:
Also note that it won't work if the 9600/N/8/1 settings are different for the cash draw in question. There should be a booklet or pamphlet that came with the draw that tells you what the com parameters are.
If ComOpen("CashDraw", "COM1", 9600, "N", 8, 1)