Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing text files
Message
De
05/08/1999 18:19:23
 
 
À
05/08/1999 17:54:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00250469
Message ID:
00250481
Vues:
15
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform