aspose file tools*
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Print report section wise" Watch "Print report section wise" New topic
Author

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,

Regards
Sree
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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:
http://davidwalsh.name/advanced-css-printing-css-page-breaks

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Print report section wise