Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows printing
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00185302
Message ID:
00185540
Views:
18
>---
>TO FILE FileName2 [ASCII] Specifies the text file to which you send a report. The current printer driver is used when the report is sent to the text file. The file created when you include TO FILE has the default extension .TXT.
>
>You can include the optional ASCII clause to create an ASCII text file from the report definition file. Without the ASCII clause, PostScript and other printer codes are written to the text file. Any graphics, lines, rectangles, or rounded rectangles in the report definition do not appear in the ASCII text file.
>---
>
>So even if you save the report to an ASCII file, the current printer driver still plays a role in how the text is formatted.

You may want to look back at those two Help paragraphs again (mainly the second paragraph). If you include the ASCII keyword, the printer driver does NOT play a role, you get plain ASCII text. The current printer driver is used for TO FILE, unless you include the ASCII keyword.

Cheers,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform