General discussion

  • Creator
    Topic
  • #2294152

    HTML page format for printing

    Locked

    by fdonaire ·

    I have an application that generate a long HTML(5 pages) i need to get the HTML and programactly insert headers, footers and page breaks.

    Does any one could give an ideia how to do that ?

    The application is j2se Web based.

    Thanks in advance

All Comments

  • Author
    Replies
    • #2736911

      How I accomplished this

      by boymackman ·

      In reply to HTML page format for printing

      We have an application that requires printing onto A5 paper, to this printed the data and determined (guessed) how many rows of data we could get on one page.

      We then inserted the Header and footer after and before the required amount of rows.

      It isn’t 100% and there are times when it doesn’t work but we have over 400 uses of this application and I have seen it not work twice! There are times where it doesn’t fill all of the page but only twice has it spilled over.

      Hope this helps.

Viewing 0 reply threads