Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dos printing
Message
From
07/02/2004 10:59:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00862326
Message ID:
00875163
Views:
57
>Yeah, first you create your Report using Foxpro for DOS, Never open it on VFP, and run it in this way!
>
>REPORT FORM yourreport.frx TO FILE myfile.txt ASCII
>!TYPE myfile.txt >PRN &&Sometimes I use PRINT (DOS) command.

Another option is "???":
...
??? lcPrinterCodes + FileToStr("myfile.txt")
And let's not forget that for proper functioning in a network, the filename should not be hardcoded - it should be generated with sys(2015) or something similar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform