aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes extra lines appearing after printing a large number of rows 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 "extra lines appearing after printing a large number of rows" Watch "extra lines appearing after printing a large number of rows" New topic
Author

extra lines appearing after printing a large number of rows

erika chua
Greenhorn

Joined: Oct 03, 2011
Posts: 2
I used thead and tbody for printing a large number of rows. The header on each page is displayed but at the end of the page, there are extra lines.

example, at the end of page 1.
*the dots(.....) are supposed to be white spaces

-------------
|......|.......|
|abc | xyz |
|......|.......|
|------------
|......|.......| <----- extra lines

how can i get rid of this?

i saw an article about this: http://www.xefteri.com/articles/show.cfm?id=26
but I would still like to know if there is a way to get rid of the lines without manually adjusting the cellpadding, border, etc

I dont want to get a fixed number of rows and then page break there, because when i use the browser to change the font to a larger size, it goes to the next page. for instance, a page of a medium-sized font consists of 50 rows. if i change the font to a larger text, the 1st page will consists of 40 rows and the 2nd page is only 10 rows.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: extra lines appearing after printing a large number of rows
 
Similar Threads
Printing tools
ne 1 from b'bay giving scjp in feb
Printing tools
LinePrinter.java
Performace of accessing db recs