Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Cash Drawer
Message
 
 
To
21/08/1999 18:38:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00256341
Message ID:
00256497
Views:
27
Hello,

We used low level functions such as FOPEN(), FCLOSE() on our Point-Of-Sale applications with the combination of some C routines so that the system would detect if cash drawer is still open or close.

>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.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform