|
There is a field in the file information data structure for printer files that will tell you the current print line... Steve ----- Original Message ----- From: "simafrog" <> To: <rpg400-l@xxxxxxxxxxxx> Sent: Monday, March 01, 2004 10:02 AM Subject: Question about Printing- A Potential Solution > The problem I have is that there are a couple of underlines to the report. One is for every item, you print an underline. The other is for where there are more than one Lot # per item, you print an item totals for the group and then an underline. At any rate, I don't want the next page to start out with an extra underline or even with the totals from the prev page. I think that I will have to create a logical, count the lines I am printing, and then check where I am, when I am printing an item, see in the logical if there are a bunch of records in that group, see if I am fairly near the end of page, say around 68 lines printed, and then go ahead and go to a new page. If there are any better methods, please enlighten. > Thanks, > Rob400 > > I have tried overflow indicators and Fetch but still some lines start out with > > the underline of the previous record. > > > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
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.