Hi
I have a program written in VFP 6.0 and i need to open a cash drawer connected in a COM2. I'm using communication control supplied with VFP 6.0 but i don't know what's code i need to write to open the cash drawer. I try using the following code but dont function:
nCompPort=2 && 1=Com1,2=Com2 ....
ThisForm.Olecontrol1.CommPort=nCompPort
ThisForm.Olecontrol1.PortOpen=.t.
ThisForm.Olecontrol1.Output = "Open Cash"+chr(13)+chr(10)
ThisForm.Olecontrol1.PortOpen=.f.
I appreciate any information about this. Thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only