Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cash Drawer and Epson TM88III
Message
From
01/10/2004 08:48:44
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
01/10/2004 06:03:19
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00947853
Message ID:
00947897
Views:
18
Hi Ken,

try access your printer directly by Windows API. I got these codes by another developer and it works good for me. I use it with a lot of device..
xfile="myfile.txt"
xport="com1" &&-- you can put any com or lpt port or shared device name
xstr=CHR(27)+CHR(112)+CHR(0)+CHR(64)+CHR(240)
  strtofile(xstr,xfile)

DECLARE INTEGER CopyFile IN kernel32;
	STRING lpSrcFile, STRING lpDstFile, INTEGER bFail
CopyFile(m.xfile,m.xport, 0)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform