Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Page Length
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00037493
Message ID:
00037548
Vues:
31
>Using FPD26 (still have clients who refuses to upgrade!). Trying to print info on pre-printed checks using Report Writer but can't seem to control the page length. I set the page length in Page Layout option to 40 rows but when printing it automatically ejects to 66 rows (for 8 1/2 x11 standard size paper). I have always printed my reports from a .prg file where I have more control but I want to use RR for this feature because of simplicity. I guess it isn't that simple. Can anybody tell me how to print only 44 rows on each page?
John,

Set the _PADVANCE variable to "LINEFEED" prior to your report run. This cause FoxPro to advanced the page by sending a series of line feeds instead of a page feed. If a page feed is sent then the printer decides where the top of form is. The alternative would be to send the commands to the printer to tell it that it has 44 lines on a page so the page feed would advance based on a 44 line page.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform