Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Report output sent to a file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00489937
Message ID:
00490031
Vues:
10
Claude
If you take a look at the Files area section here at UT, you'll find a few utilities that may help you. There is first the frx2word utility, wich transforms a frx file to either a word document or to html, although it's not exactly wysiwyg compared to the original report file.
OTOH, i have an application that must send a report through email, and here is what i do:
i use a fax program printer driver ( in my case, i use Zetafax ). You just then set this as the output printer: SET PRINTER to NAME "Zetafax Printer".
Then, you issue a report form reportname to file filename.
This creates the file: "filename.txt". Rename this file to "filename.tif", and voila! You have a tif file that is viewed by windows by default with the kodak image viewer ( kodakprv.exe in C:\WINDOWS directory ). The weight of the file is about 40-50k per A4 page.

Cheers

>Using the command
>
> report form reportname to file filename
>
>creates a file with embeded postscript commands. Adding the ascii option creates very ugly look outout.
>
>Questions:
>1. How do I print the resulting postscript file, do I need to rename the extension, get another progran, something else?
>2. Is it possible to create files with other formats (ie word, rft, html, ...) that retain the original formating? If so how hard is it?
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform