× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Is your concern about the amount of blank space at the end of the page?  Do
you have concerns about one or two line widows and orphans? Is it desirable
to keep all 12 lines on the same page?  If you always have 12 lines then
perhaps you want to consider page-at-a-time printing?  Print a page at the
end of every 4th record, and laying out the page as a 4-record page format? 
That'd give you a 51 or 55 line body, with room for headers and footers.


 
---------------------------------
Booth Martin
http://www.martinvt.com
---------------------------------
-------Original Message-------
 
From: RPG programming on the AS400 / iSeries
Date: 03/29/05 11:53:55
To: RPG programming on the AS400 / iSeries
Subject: Re: OFLIND Problems
 
Okay, this works, but I don't like to output. Is there a something I
am missing on my manual paging logic. I set my max lines (about 60), I
add to to a line count for every record making sure I add the right
number of lines to the counter. Then when a new page is needed
(Line_Count >= MAX_LINES), then I print my page header which contains
a SKIPB(1) in the record. I got an CPF5008 or something like that
error.
 
 
On Tue, 29 Mar 2005 10:47:03 -0600 (Central Standard Time), Booth
Martin <booth@xxxxxxxxxxxx> wrote:
> If you have a possibility of a  12 line record printing 12 lines then you
> need to set your overflow at somewhere about 48 to 52, depending on where
> your overflow output prints.
>
> Once a detail record starts printing, it prints til done, even if there is
> overflow.  In this instance I would suspect a 12 line record that started
> printing on line 59 would print right down to line 5 of the next page, and
> overflow would never activate for that page break.
>
> So, if you want your footer lines to print on, say, line 63 and 64, then
> your 12th line must print no lower than line 62, which means you need to
set
> your overflow line at 51.
>
> (Don't confuse form length with overflow line, btw. )
>
> ---------------------------------
> Booth Martin
> http://www.martinvt.com
> ---------------------------------
> -------Original Message-------
>
> From: RPG programming on the AS400 / iSeries
> Date: 03/29/05 10:23:29
> To: RPG programming on the AS400 / iSeries
> Subject: Re: OFLIND Problems
>
> But what would that cause problems for some of my other records? One
> of them is 12 lines long. I tried manual paging but kept on getting an
> overflow error.
>
> On Tue, 29 Mar 2005 10:03:40 -0600 (Central Standard Time), Booth
> Martin <booth@xxxxxxxxxxxx> wrote:
> > I wonder if you need to change your overflow line from 60 to 58 or so?
> >
> > ---------------------------------
> > Booth Martin
> > http://www.martinvt.com
> > ---------------------------------
> > -------Original Message-------
> >
> > From: RPG programming on the AS400 / iSeries
> > Date: 03/29/05 09:55:51
> > To: Midrange_RPG400_L
> > Subject: OFLIND Problems
> >
> > I am working with an external printer file and am having some problems
> > with the OFLIND. The page header works fine for pages 1 and 2, but
> > page 3 has problems. The last record on page 2 is 2 lines a appears to
> > print on line 65, then line 66 prints a new page without the heading.
> > Is there way fix this?
> >
> > --
> > Mike Wills
> > Midrange Programmer/Lawson Administrator
> > koldark@xxxxxxxxx
> > http://mikewills.name
> > Want Gmail? Email koldark+gmail@xxxxxxxxx to get on my waiting list.
> > --
> > 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.
> >
> > .
> > --
> > 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.
> >
> >
>
> --
> Mike Wills
> Midrange Programmer/Lawson Administrator
> koldark@xxxxxxxxx
> http://www.mikewills.name
> Want Gmail? Email koldark+gmail@xxxxxxxxx to get on my waiting list.
> --
> 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.
>
> .
> --
> 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.
>
>
 
 
--
Mike Wills
Midrange Programmer/Lawson Administrator
koldark@xxxxxxxxx
http://www.mikewills.name
Want Gmail? Email koldark+gmail@xxxxxxxxx to get on my waiting list.
--
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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.