PDFsharp & MigraDoc Foundation

Convert HTML To PDF Help
Page 1 of 1

Author:  csharper [ Wed Oct 14, 2020 10:49 pm ]
Post subject:  Convert HTML To PDF Help

Hi Guy, I need help concluding converting HTML invoice to PDF, the output PDF does not carries the items line that are carried in the HTML Invoice, it converts the whole HTML invoice to PDF 75% fine the missing 25% that it does not print the is the items lines, please see attached the Source HTML and the Target output PDF for more detail.

Assembly Used
PDFSharp.dll Version used 1.32.3057.0
PdfSharp.Charting.dll Version used 1.32.3057.0
HtmlRenderer.dll Version
HtmlRenderer.PdfSharp.dll Version

//Sample Code used
PdfDocument pdf = PdfGenerator.GeneratePdf(html, PageSize.A4,20,null,null,null);
//- Create it.
pdf.Save(HttpContext.Current.Server.MapPath("~/export/" + _PDF_FILENAME_TO_CREATE));

Any clue how to fix the problem so the output prints the item lines as well {Description Quantity Unit Price Extended}?


File comment: Target Output PDF after conversion
PDFOutput.JPG [ 68.74 KiB | Viewed 414 times ]
File comment: Source HTML Invoice to convert to PDF
HTMLInvoice.JPG [ 107.51 KiB | Viewed 414 times ]

Author:  TH-Soft [ Thu Oct 15, 2020 8:56 am ]
Post subject:  Re: Convert HTML To PDF Help

Not a problem of our library. Maybe TheArtOfDev can help.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group