Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing text files
Message
From
05/08/1999 18:19:23
 
 
To
05/08/1999 17:54:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00250469
Message ID:
00250481
Views:
13
>How do I print text files from vfp6. I can not find a print command that does this. I tried setting the printer on and console off and using the vfp6 type command to print the text file. This works but the text file looks awful. For now, I am running the dos type command within vfp to output the textfiles to the printer. I do not like doing this and would like a better solution.

Take a look at my FAQ entry # 524 "How do I copy a file to a printer port" here on UT. It describes how to use the Win32 API call CopyFile() to accomplish this.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform