Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

printing document in multiple pages

  Asked By: Lewis    Date: Aug 01    Category: Java    Views: 950
  

Can any 1 plz guide me how to print a document if content to be
printed is of multiple page (i.e how to split contents to multiple
document for printing)

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Corey Jones     Answered On: Aug 01

I am in the same situation. My page  is displaying a table in html.
The customer wants to print  this table in multipule page, with column
header in each page.

I don't think html can do this by default. I would also like to know
if we can write some java script to make this happen.

 
Answer #2    Answered By: Troy Kelley     Answered On: Aug 01

Actually, it can be written so that the table headers go on each page. I have
gotten this to work before in IE by dividing the table up into header and body
sections. There's also some CSS magic that has to go along with it. I wish I
could find you the specific code, but I don't have it in front of me. But I
will say that it is possible.

 
Answer #3    Answered By: Gorkem Yilmaz     Answered On: Aug 01

It is possible to divide the content  into multiple  pages by
using "page break after" tag. The tag forces page  break while
printing.

 
Didn't find what you were looking for? Find more on printing document in multiple pages Or get search suggestion and latest updates.




Tagged: