Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simplest way to print txt file?
Message
 
 
À
16/05/2006 09:04:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01122014
Message ID:
01122185
Vues:
15
>Naomi,
>
>>Do you think it's the best way? I want to be able to re-print various files (TXT, HTML, PDF, PRN (produced with report form to file command)).
>>I'd like the interface to be consistent in all these cases.
>
>IMO, I think my suggestion is the best way for text files because text files have no way, in and of themselves, to convey landscape/portrait or fonts while your PDF and PRN files will have this information encoded in their files.
>
>When you print your PDF files, you will have Acrobat handle the printing. When you print your TXT files, you will have your VFP app (perhaps even a seperate, standalone 'mini' app?) handle the printing. I think you're going to need yet another technique for printing HTML if you want to control landscape vs. portrait output.
>
>I think your search for a 'consistent' approach may be leading you astray.
>
>Interesting thread - I'll be curious to hear of your final solution and how close it is to your goal of 'consistency'.
>
>Malcolm

With TYPE command suggested by you yesterday I can use PROMPT option. I'm thinking, may be it's the easiest alternative. I haven't made my mind yet. I also want to fix the other problem with my file selector form before attacking this one.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform