P is for Practical | |
PerlMonks |
Re: Printing out all pagesby fuzzyping (Chaplain) |
on Jan 01, 2005 at 22:55 UTC ( [id://418710]=note: print w/replies, xml ) | Need Help?? |
It sounds to me like you're adding unnecessary complexity to the problem. If you want to print out all of the sessions, why not simply print them out via pipe to lpr? Why bother trying to prepare them for your browser, when the end effect is the same? What I'm really getting at is to avoid introducing your browser into the scenario at all. If you want to print them out, then just write a short function/method (or new script) to query the db and format/print out the results. As far as viewing 100 rows per browser view, you want to integrate some sort of pager functionality. This can be done quite easily by crafting your sql query to increment each time. Hope this helps,
-fp
In Section
Seekers of Perl Wisdom
|
|