Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes HTML, CSS and JavaScript and the fly likes Print report section wise Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Print report section wise" Watch "Print report section wise" New topic

Print report section wise

sreedhar Lackka
Ranch Hand

Joined: Jul 05, 2008
Posts: 154
Hi All,
Thanks a lot in advance.
Please help me in following problem,
We have report to be printed which will consists different sections like below,

Name Details:
Address Details:
Education Details:
Like wise we have different section to be printed on A4 page, the report will be generated dynamically, so which will go beyond 2, 3 pages.
My problem is Section heading and its details should be printed at one page only.
i.e., one page is having section header and other page is having details should not be there.

Please tell me with example,

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Whenever I need an exact layout, I tend to generate a pdf on the serverside.

For adding page breaks when printing, take a look at this:

I agree. Here's the link:
subject: Print report section wise
It's not a secret anymore!