Re: PAGE x OF y
Posted in 1997
Douglas Wilson — — source: Informix-list mailing list archive (1991-1998)
Joel Schumacher wrote: > > Then, there's the ugly "Secondary program". You output to a temporary > file, then have some secondary program that you pass the filename and > number of pages. It read the file, and outputs to the printer. Either at > n-interval lines, (or maybe you give it a specific tag to look for), it > outputs the "Page x of y". This is probably the best solution if the > number of pages is hard to calculate. It wouldn't be too hard at all to output a constant string of some sort as the "y" part of "Part x of y", count the # of times you print this then run the report output through a sed script to replace the constant string with the page count. Douglas Wilson