title: Generate PDF - how to create paged HTML content beforehand?
body: <p>My task is to create ready-to-print invoices from a .NET web app. </p>
  
  <p>I am already generating the printer-friendly HTML for an invoice - it consists of an invoice header (that will actually need to appear on each printed page) and invoice positions (that may span multiple printed pages).</p>
  
  <p>Now, my task is to generate a PDF server-side, populate a header on each of its pages, then populate its pages with invoice positions. I need to generate the PDF from the existing HTML data - by simply passing HTML input to the PDF generator library.</p>
  
  <p>I've started using ABCPDF - I am using the <a href="http://www.webgoo.com/helppdf5net/default.html?page=source%2F3-concepts%2Fg-htmlrender.htm" rel="nofollow noreferrer">AddImageHtml</a> method. The problem I have is that ABCPDF seems to expect me to supply HTML content <em>already paged</em>. So, it won't work correctly when I feed it HTML content that would span on more than 1 PDF page.</p>
  
  <p>So, my question is - do you have any suggestions on making this work with ABCPDF? Or, more generally speaking, what other tools/approaches would you use for this - generating PDF doc with headers/footers from HTML input?</p>
  
  <p>Thanks</p>