Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lines Per Page
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01510649
Message ID:
01510652
Vues:
60
>I have a report that works fine when I output directly to the printer. However, when I output to a file, then try to print the file, i get about 1 1/2 pages of data per sheet of paper. So, Page 2 starts about 2/3's of the way down the first sheet, and continues on the second sheet. Page 3 and the beginning of Page 4 are printed on the second sheet.
> When I set _ASCIIROWS = 96, it prints Page 1 on the first sheet, Page 2 on the second sheet, etc., but it skips lines in the middle of the data, instead of printing more records per page.
> The ReportEngine is set to 80, and the command that I'm using is:
>REPORT FORM (tcReportName) TO FILE (tcExportFile) ASCII NOCONSOLE
>
> How can I get it to print neatly, with each page of the output file printing on one page of the printout, and not skipping any lines?
>
>Jerry

Hi Jerry,

I think getting ASCII output to be correct is a really tough task. I remember playing with it a while back (say, 11 years back - yes, that old). I played with _ASCIIROWS/_ASCIICOLS at that time, but finally gave up and wrote a program to output to file directly.

So, it may be better to use other formats or means to generate the file.
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