hi All
I need to write either a simple batch file or VisualBasic exe to send to the USB port to open a cash drawer

The syntax is something like OpenDrawer 1 "Star TSP700 Raster Printer"

I have written similar files in VisualBasic for Com ports which work eg:


Private Sub Form_Load()
' OPEN COM1 FOR OUTPUT
Open "com1" For Output As #1
' POP CASH DRAWER
' CMD:
Print #1, Chr$(7)
' CLOSE THE COM1 PORT
Form1.Cls
Close #1
End Sub

but they do not work with USB

Can anyone help me out please?
TIA
Rod