Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Output of a report file - for DOS
Message
From
25/03/2004 05:45:56
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
20/03/2004 09:08:29
Sudhir Arora
Userease Software Pvt. Ltd.
New Delhi, India
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00888199
Message ID:
00889528
Views:
18
first you have to do that:
set prin to myprint.txt
after that if you want to use ? command use it. don't use ??? command...

if you want to prin a report file. create your report in foxpro Dos and use report to ascii command in VFP. don't open report in VFP anymore!..

after that. you ready to print your report :)
  set prin to
    
DECLARE INTEGER CopyFile IN kernel32;
	STRING lpSrcFile, STRING lpDstFile, INTEGER bFail
CopyFile("myprint.txt","prn", 0)
that api support even network printers (you have to use network printers name like : secretary\\ibm ) ...
Previous
Reply
Map
View

Click here to load this message in the networking platform