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

Control Printing

 
Pankaj Patel
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

I am Pankaj Patel and i need your help to overcome this requirement/issue.

I am having one html page and once the page is loaded automatically window:print() is being called.

The html page has 3 section and i need to print every section on a new page. Every section is containing dynamic values, and because of which my page size is not exact fix. Sometime it may increase sometime decrease.

Is there anyway to find, like, this statement will be printed on which page? so that i can give some extra feeds and make it so that it get printed on a new line.

Regards,
Pankaj Patel
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pankaj, please CarefullyChooseOneForum for your questions so that you get best response.
 
Pankaj Patel
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK. Next time will choose proper forum.

FYI All. I had found the solution for the issue using CSS.

Page 1

 


Page 2

I hope you have understood it.
 
Pankaj Patel
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<p/tr/td/tag style="page-break-after: always;" >[/code]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic