Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    force html page to print constant page size

    Hello
    im trying to find away to force html page to break the page after or where i define something like every 300px page height
    ok .. i know the window.print and the onbeforeprint and onafterprint further more things get complicated cos im getting the html
    page generated via some third party application so the total length is unknown only after the page is done generated (note : i can add js to the page before the
    html content is generated ..)
    so .. in fact im looking for some kind of idea or algorithm or something
    thanks alot!

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What browsers does this have to work for? There's a series of columns on IE's print templates over at docjs.com
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #3
    New Coder
    Join Date
    Jun 2002
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts
    only IE 5.5+ even 6
    (its for application web bassed )

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here's a link with all the print template columns. There's six parts in all.

    http://www.webreference.com/js/index...tart=26&page=7
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •