Extra blank page when converting HTML to PDF using abcPDF
I have an HTML report, with each print page contained by a <div class="page">. The page class is defined as
I have an HTML report, with each print page contained by a <div class="page">. The page class is defined as
I am using abcPdf to convert an HTML report into a pdf file. The pdf has to be a single landscape A4 page.
We have a large application successfully using ABCPDF.NET with HTML Styled text. We’re accustomed to adding text using fonts not installed in Windows, but stored in files elsewhere in the filesystem — we do this so each user can upload their own fonts and use them with the output. We use the AddFont call to embed the font in the Doc, then reference the font in a tag for HTML Styled text with the AddText call.
I’m using the ABCpdf.net component to convert HTML to PDF. Some of the HTML uses the Symbol font to display certain characters. Unfortunately, we are consuming the HTML from a third-party, and it cannot be changed.