Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
8.5x11 FRX report length wrong on dot matrix printer onl
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00683599
Message ID:
00683876
Vues:
21
Hello Tracy,

>The line spacing appears fine. Everything else appears fine. It just 'seems' to think it is on a different line on the page than it is and that there is more room left to print on.

I'm finding the same situation on a new app I'm developing that sends the same report to either a laser or dotmatrix. After reading Jim's response and your question again, I'm remembering something about the 'printable area' of each page; there are (for lack of a better term) 'hard' margins for laser printers, i.e. they can not print from edge to edge and top to bottom. Typically this is about 1/4" to 3/8" on left, top, and right edges and a bit more on the bottom.

Think about it: for a dot matrix printer, the left and right edges may have some small 'hard margin', but a continous form tractor feed allows you to print right up to or across the perf line.

Now here's the question that I don't know the answer to: Where does FoxPro's Report Writer get the information about the 'hard margins'. Based on my experience, I think it happens at runtime. The footer is placed on the page with reference to the bottom 'hard margin' which is 0 for a dot matrix and some fraction of an inch for lasers. The page header band starts right under the top 'hard margin' and the detail band directly under it, so there appears to be extra whitespace between the last detail band and the page footer.

Cathy Pountney's Report Writer book has quite a bit on FP2.x reports as well as the newest VFP features; perhaps she knows how to handle this challenge.

HTH,
Randy Bosma
VFP - Because life is too short to code in something else...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform