Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Page footer w/o line counts

39 views
Skip to first unread message

tayl...@tyler.sprnet.org

unread,
Jan 20, 2000, 3:00:00 AM1/20/00
to
I need to print some text at the bottom of each page in a report. Is
there an easier way than counting the lines you print and then running a
footer subroutine when the lines printed counts gets to a certain point?


Sent via Deja.com http://www.deja.com/
Before you buy.

Robert A. Twarowski

unread,
Jan 20, 2000, 3:00:00 AM1/20/00
to
Use SKIPB(xx) for 1st field of your footer. (xx is of course the number of
line where you want to put the footer).

Regards
Robert.T...@MineralMidrange.com


Joe

unread,
Jan 20, 2000, 3:00:00 AM1/20/00
to
Have you looked at the Print Text option on OVRPRTF or CHGPRTF. The help
says:
"Specifies up to 30 characters of text that is printed at the bottom of each
page of printed output and on separator pages."


tayl...@tyler.sprnet.org wrote in message <8678q7$5fg$1...@nnrp1.deja.com>...

Ian Stewart

unread,
Jan 21, 2000, 3:00:00 AM1/21/00
to
Hi,

You might do an override to the printer file and specify PRTTXT. If the
position it prints in is OK, and if 30 characters is enough. This is also
supposed to print on the separator pages, which could be useful. I've only
used it to identify test output as such, but it worked well enough for that.

Two alternatives to counting lines (assuming RPG): you should be able to use
the overflow indicator to condition printing your footer prior to printing
the next page headings. If you're already using an overflow indicator, that
is probably the easiest method, and if you're not, how are you figuring when
to print them anyway? Also, I think there's a feedback area somewhere that
keeps track of the current line (vauge recollection here, no guarantees!)
You'd have to check it yourself, but at least you wouldn't have to worry
about keeping track of the number of lines you'd printed.

-Ian.

tayl...@tyler.sprnet.org wrote:

> I need to print some text at the bottom of each page in a report. Is
> there an easier way than counting the lines you print and then running a
> footer subroutine when the lines printed counts gets to a certain point?
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

--
Ian Stewart
i...@incognito.co.nz

0 new messages