|
I understand all of that. But, the whole point of the question was not about using the overflow indicator to control paging. I am handling that by limiting the number of lines I print per page. This isn't something I really have a choice on. I am just trying to figure out why the existing code is bombing when I try and print on the overflow line. A redesign at this point is not an option. I just thought I was missing something obvious and that someone might know why I can't print on the overflow line without error? -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Lim Hock-Chai Sent: Wednesday, May 03, 2006 5:06 PM To: RPG programming on the AS400 / iSeries Subject: RE: Printer File Overflow... You shouldn't have to have to keep track of the line # that you are printing. That is what overflow is for. Just make sure that the detail record format does have more than "page length - overflow line + 1" lines. In you program, simply do: If overflowed Write heading Eval overflowed = *off Endif Write(e) detail Eval overflowed = %error
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.