Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to eject the drawer of a cash machine?
Message
From
08/03/2000 19:30:53
 
 
To
05/03/2000 21:42:50
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00341974
Message ID:
00343514
Views:
22
> I would be very grateful if anyone tell me the way to accomplish this using VFP commands.


Here is an example of code I use to operate a cash drawer we use (Epson TM-U375)

*--- SET THE PRINTER
SET PRINTER TO NAME CR_RECEIPT_PRINTER

*---- open the drawer
??? chr(27)+ chr(112)+ chr(48)+ ','+ chr(52)+ chr(56)+ '.'+ chr(48)+ chr(56)+ chr(50)+ chr(52)


set printer to default


You will need to determine the escape sequences in the manual of the printer/cash drawer that you are using and modify accordingly
Thanks,

Stacy



Black Mountain Software, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform