|
You program would calculate the number of detail lines that fit on the page and then as you write the detail lines you would count them. When the counter reaches the detail line limit you would write you footer and header for the next page, reset the counter and continue printing detail lines. Duane Christen -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of derek gonsalves Sent: Monday, July 03, 2006 4:46 AM To: rpg400-l@xxxxxxxxxxxx Subject: dynamic printer file Hi... I have to create a printer file program. Can someone please tell me how to code a Rpg program for the following issue.. In the Rpg program I have to decide the number of lines for the footer depending on the no of lines of text present in the pf i.e. the lines of the footer are read from a pf. Hence the no of lines in the footer can change. How do i handle this.??
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.