My task is to create print-ready invoices from a .NET web application.
I am already creating HTML code for printing for an invoice — it consists of an invoice header (which should really appear on each printed page) and invoice items (which can span several printed pages).
Now my task is to create a server on the PDF side, fill in the header on each of its pages, and then fill its pages with account positions. I need to create a PDF from existing HTML data - just passing the HTML input to the PDF generator library.
I started using ABCPDF - I am using the AddImageHtml method . The problem is that ABCPDF seems to expect me to put HTML content already on the page. Thus, it will not work correctly when I feed it with HTML content, which will cover more than 1 page of PDF.
So my question is: do you have any suggestions for creating this work with ABCPDF? Or, more generally, what other tools / approaches would you use for this - creating a PDF document with headers / tabs from HTML input?
thanks
source
share