Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print ascii file ???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00041223
Message ID:
00042228
Vues:
43
> Your right it's a good idea but it's meen that i need a table with a > memo > field only to print a ascii file. > And i dont need to play with the font because the ascii file was > command > code for printer My preferred method is to use something like this: ! PRINTFIL &lcFileName where PRINTFIL.BAT contains: @echo off copy /b %1 lpt1 erase %1 exit This copies the file, in binary mode (bypassing any Chr(26)s that it sees) to the LPT1 port. You can substitute any valid port for this. The exit at the end is to ensure that Windows '95 closes the DOS box. It's ugly to watch, but it works better than anything else I've tried. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform