PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Convert HTML To PDF Help
https://forum.pdfsharp.net/viewtopic.php?f=2&t=4188
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 1.5.0.6
HtmlRenderer.PdfSharp.dll Version 1.5.0.6

//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}?


Thanks

Attachments:
File comment: Target Output PDF after conversion
PDFOutput.JPG
PDFOutput.JPG [ 68.74 KiB | Viewed 414 times ]
File comment: Source HTML Invoice to convert to PDF
HTMLInvoice.JPG
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
https://www.phpbb.com/