Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Print report section wise

 
sreedhar Lackka
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic