Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing on Dot Matrix Printer LQ-300+
Message
From
19/04/2006 04:53:12
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
13/04/2006 13:32:16
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01113529
Message ID:
01114499
Views:
18
Hi Seyfettin (we write your name like that in Turkey :) ),

I use that. You'll get your prints like in DOS. Sure,
SET PRINTER TO myprinter.txt
SET PRINTER on
SET CONSOLE OFF
?"nfdgkfdjkgfk"
?"ncvmxvkcxvkc"
?"kvdjlgjkfsl"
SET PRINTER TO 
SET CONSOLE ON 
SET PRINTER off  

xfile="myprinter.txt"
xport="lpt1"
  STRTOFILE(CPCONVERT(CPCURRENT(1) ,CPCURRENT(2),FILETOSTR(m.xfile)),m.xfile)

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

Click here to load this message in the networking platform