Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to put a file to print ?
Message
De
05/05/2003 10:55:59
Arlei Silva
Chevron Oronite Brasil Ltda.
Capuava, Brésil
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How to put a file to print ?
Divers
Thread ID:
00784942
Message ID:
00784942
Vues:
48
Hey all,

I created a file with the command "Report Form MyReport.frx to file C:\MyApp\MyReport.txt" and now I need to print it (I do not print directly from the report form command for a lot of reasons...).

Ok, I do the following:
> Report Form MyReport.frx to file C:\MyApp\MyReport.txt
> cFileContent = FileToStr("C:\MyApp\MyReport.txt")
> ??? cFileContent
> Set Printer To && To end the print job

The problem is: Deppending on the file contents (cFileContent), the Visual FoxPro returns the "syntax error" error.

So I would like to know how I can send the file C:\MyApp\MyReport.txt directly to the printer (without using the ShellExecute function, please :))

Thanks!!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform