Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I wanted to format it using HTML - easier than learning another formatting language (postscript or I don't know what else).
I'm using format and have it structured with a header, body and footer and it is readable in the browser. Now I'm trying to determine if it is possible to do proper pagination with all the normal header repeats, footer page numbers, not break rows across pages etc. I don't care if headers show in browser.
Is there a good/easy/best way to count how many lines are actually going to print (given variable length data which may wrap lines and html which doesn't count toward lines to print) from the print command on the browser so I can do some counts and plug in the header where appropriate?
Appreciate any wisdom you would share,
Gretchen
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pagination on HTML reports formatted with Format
by VSarkiss (Monsignor) on Dec 22, 2005 at 18:54 UTC | |
|
Re: Pagination on HTML reports formatted with Format
by artist (Parson) on Dec 22, 2005 at 17:50 UTC | |
by saberworks (Curate) on Dec 22, 2005 at 18:20 UTC | |
by gj2666 (Beadle) on Dec 22, 2005 at 20:11 UTC | |
|
Re: Pagination on HTML reports formatted with Format
by Popcorn Dave (Abbot) on Dec 23, 2005 at 04:02 UTC |