Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Cash Drawer
Message
From
21/08/1999 18:38:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Open Cash Drawer
Miscellaneous
Thread ID:
00256341
Message ID:
00256341
Views:
56
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
Map
View

Click here to load this message in the networking platform