Page break in HTML
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, July 12, 2001 08:08 PM


I have a big HTML Page, it go about 4 to 6 Pages,

while Printing i want to break the Big HTML page into SINGLE SINGLE pages According to My Requirment.

Please tell me how implement this in HTML

PLEASE REPLY MY AS SOON AS POSSIBLE

Regards

Sampath

Re: Page break in HTML

Posted By:   Christopher_Stehno  
Posted On:   Friday, July 20, 2001 11:09 AM

According to the CSS documentation, you can specify page breaks for printing using CSS style sheets (the page directive I believe). You may want to scour the CSS documentation (www.w3c.org) and see what you can find. I know that it can be done, but I have never done it myself. Also, if you are looking to PDF as the answer Lowagie (www.lowagie.com) has a good PDF API for Java. It works pretty good for report writing and general PDF usage -- called iText.
Hope this helps some.

Re: Page break in HTML

Posted By:   Luigi_Viggiano  
Posted On:   Friday, July 13, 2001 12:52 AM

Printing is responsibility of the browser, and an html page is not intended to be print. If you want to print a document (usually a report) I suggest you to produce a pdf document instead of an HTML. I suggest you to check Style Report to do it.
About | Sitemap | Contact