Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trigger POS Drawer in VFP
Message
 
To
25/06/2002 09:49:04
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00671994
Message ID:
00672060
Views:
22
>Hi,
>
>I need to trigger a POS drawer to open in Windows 2000 Professional
>using VFP6.
>
>So, I do the following below and it trigger my drawer to open but
>it also print some binary data to the printer too (Epson 88TM)
>I am using the driver from Epson website to install it.
>
>My code
>
>SET PRINTER TO LPT
>
>??? CHR(27) + CHR(112) + CHR(0) + CHR(5) + CHR(5)
>
>SET PRINTER TO
>
>
>Please kindly advise

Try the following:
??? chr(7)
or
??? chr(27)+chr(7)
HTH,

Enmanuel
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