This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes controlling printing in generated HTML page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "controlling printing in generated HTML page" Watch "controlling printing in generated HTML page" New topic
Author

controlling printing in generated HTML page

Sunil K Bansal
Ranch Hand

Joined: Jan 04, 2001
Posts: 62
Hi guys,
I m developing a project in JSP.
there are some reports wich are generated from database in HTML.
some reports are very long, to print I m selecting print from File menu.
but printing reports in such way is not giving good impression
i want that when data in group changes page break is inserted, but I dont know how to do that.
help me to control printing of HTML page.
give me some source code if possible
thanx in advance..
Bansal
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15362
    
    6
Read this:
http://www.javascriptkit.com/dhtmltutors/pagebreak.shtml
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: controlling printing in generated HTML page
 
Similar Threads
How to print total page including css background?
problem with page size printing html jasperreports
how to give print option to any page?
Java print service--pls help
Printing in servlets?