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