• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Page break while printing

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have a JSP page with around 370 columns... WHile prining I want all the columns to be printed... either in one sheet or in different sheets.. COuld you please tell me how to do it??? I tried using <P style="page-break-before: always">.. I am just getting one page with some 10-15 columns in it....



PLEASE PLEASE PLEASE help me in this

thanks
SMriti
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even though you're using Struts tags, the real problem you're trying to solve has to do with CSS and html. Therefore, I'm moving this post from the Struts forum to the HTML and JavaScript forum to give you a better chance of getting an answer.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Take a look at this article to see how it is done

http://www.javascriptkit.com/dhtmltutors/pagebreak.shtml

Eric
 
Smriti Anchu
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

The problem with mine is that.. My page is Extremely horizontally wide with data divided into different columns.. I want to print the entire page with all the contents..
Right now, when it is given for print, only 1 sheet is getting printed with little values in it... and the rest of the data is not getting printed..

How do i apply page break so taht.. i can get the contents of the page fully in one sheet or different sheets

please help me

regards
Smriti
 
reply
    Bookmark Topic Watch Topic
  • New Topic