Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open cashdraw
Message
 
To
23/09/2005 04:28:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
01052299
Message ID:
01052404
Views:
9
Why not connect the cashdrawer to the receipt printer? Then simply sending chr(7) will open the drawer.

>I am sure this question has been asked before. How can I open a cashdraw from my vfp8 application ?? In old dos system, the cashdraw opened when I used the following command:
>mode com1:300,n,8,1
>set printer to com1
>set print on
>for i = 1 to 6
> ?chr(0)
>next
>SET PRINT off
>set printer to
>quit
>Your help will be appreciated. Thanks.
>Shafid
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform