Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
POS Cashdrawer
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00884120
Message ID:
00885537
Views:
13
Hi,

Thank for your advise and sample code.
BTW, how do your check your printer status ofthe TM88 printer
like paper out or paper jam ?

Any VFP code or sample is very much appreciated. Thank you

>Hi
>Windows printing strips out certain characters. Here is a simple workaround that I have used for years with the only issue that it flashes a brief DOS window. I fill a text file with the characters needed in this case on an Epson TMT88 printer to fire the till.
>=StrToFile(CHR(27)+CHR(112)+CHR(0)+CHR(94)+CHR(121),"Till1.txt")
>I then issue the command:
>RUN TYPE TILL1.TXT>LPT1
>This uses a redirection DOS command to output the contents of the text file to the printer (in this case LPT1)
>Cheers
>John
Best Regards
Virusim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform