Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Above 132 columns...
Message
 
À
24/07/2000 15:49:36
Randy Riegel
Zimish Contracting
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00396289
Message ID:
00397840
Vues:
9
I'd do what Cindy recommended and use FCREATE, FPUTS and FCLOSE to create ASCII text files that contain the reports that are wider than the VFP report generator can handle. You have to do your own line counting and insert char(12) for form feeds, etc.. PADL, PADR and PADC work great for formating lines of data.
Also, I created a 'greenbar' custom page in WP and when the pgm finishes generating the ASCII text file I give the user the option to fire it up with WP.
This way I can make it as wide as I need and use WP to select the non-proportional font size that will squeeze it onto the greenbar paper.

JLK

>I have a report that runs in FP for DOS 2.5 that about 240 characters wide. It prints to greenbar 14 7/8 x 11 paper and works great.
>
>However, when converting this program to VFP 6.0 it will only print 132 characters wide and cuts the rest of the information off. I believe this might have something to do with Windows spool since when using it from a DOS machine I actually just mapped the network printer to lpt1 instead of setting up a printer. I set the printer up as "Generic Text" (since that is a dotband printer) and set the page size as the correct "US Standard FanFold 14 7/8 x 11". Does anyone have any idea what I am doing wrong?
>
>I also tried using the RUN command to run a NFS printer mapping utility to map the printer to LPT1 and then SET PRINTER TO LPT1 but that didn't work either.
>
>Thanks for any help,
>Randy
Nebraska Dept of Revenue
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform