Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to communicate cash drawer which is LPT port
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00775367
Message ID:
00775505
Views:
14
>In the past... I had to setup a client with a printer-based port... In the documentation, the specific cash drawer had dip-switches on the back. Based on the given code, you just had to include that "special" character when printing and the drawer would open... maybe something like a CHR(235). However, apparently (at the time), not all cash drawers worked on this type of process.

Don is right, in my case I use ???chr(7) to open the drawer when printing.
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
Reply
Map
View

Click here to load this message in the networking platform