Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trigger POS Drawer in VFP
Message
From
25/06/2002 23:57:44
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00671994
Message ID:
00672319
Views:
17
Hi,

The printer still printing out the empty even I add the command
before, after or append to my current command.

BTW, what are those command ?


>>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
Best Regards
Virusim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform