Jump to content

Creating page breaks in html


DickDeeds

Recommended Posts

I have a large program requiring many different reports. These reports span many pages. I cannot find much information about printing from HTML/XHTML. The program is generated using PHP. The only way I can pring now is to use the browser print function. Is there a way to force a page break on a page so that the report can be paged logically?I see "printer friendly" versions on some web pages.Q. Can anyone steer me to a place were I can get information for printing, printer friendly and/or a program that can interface which will allow the reports to be formatted?TIA,###### Deeds

Link to comment
Share on other sites

About the only thing you can do is target the printer with a stylesheet. You can use an @media CSS rule to create a print-only stylesheet and there are a few page layout properties for CSS you can control. There aren't very many though, if you really need high quality printing you might want to output to PDF instead of HTML.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...