well, its unknown until the report finishes.
maybe put in a place holder, after the report finishes take the last page number and replace it with the place holder.
i'm really not sure but from what i remember in mfgpro.
in the printer definition you could also set procedures to run when output is opened and closed and find a way to combine that feature.
but i'm really not sure if its a good idea or a practical one.
another thing you could do is create document types that have those features and much more instead of plain text.
you can create office docs with com-handles or office xml schemas (that can also be used with openoffice).
theres pdf using pdfinclude and others, ofcourse html/css, svg/vml etc.
if you're working on unix you could use smtpmail to pass the files over to the users workstation. hth