Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trigger POS drawer to open in VFP
Message
From
23/06/2002 12:54:42
 
 
To
23/06/2002 06:30:05
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00671458
Message ID:
00671481
Views:
19
When we programmed out cash drawer we did it like this:

PROCEDURE open_drawer
SET PRINTER TO lpt1: && (or lpt2:, lpt3:, \\pc\printer, etc.)
SET PRINTER ON
? &string_to_open_the_drawer && where string_to_open_the_drawer = the
SET PRINTER OFF && string for the particular cash
SET PRINTER TO && drawer given by the manufacture
RETURN

This opened the cash drawer on the lpt port...

Good Luck
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform