Greetings all,
Though I'm not sure I fully understand your request I'll take a stab at it.
You are re-working your results into 100 results per page chunks and you want to print all of the results to individual pages 100 at a time right?
Since you mentioned the browser I am assuming you are using HTML in which case you can easily do this with CSS2 if you are using IE 4.0+. The print properties
page-break-after and
page-break-before are what you need to use to split up your printed pages. I have used these on other projects and they worked great for the client. Here is a link to the
w3schools tutorial on CSS2 print properties.
So now you can print out your 100 results and throw in the CSS tag. Here is an example:
#In the head of your HTML output
<style type="text/css">
.pg_break {page-break-after: always}
</style>
#later in the page
#... your 100 results
<br class="pg_break">
#... more results 100 at a time
<br class="pg_break">
# and on and on until you've got all your results.
Again this is currently only supported in IE 4.0+
Hope that helps,
-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.