Welcome Guest Search | Active Topics | Sign In | Register

PDF created from ConvertHTML has an extra blank page Options
jtwoods4
Posted: Thursday, June 21, 2012 2:04:58 PM
Rank: Newbie
Groups: Member

Joined: 6/5/2012
Posts: 4
When I create a PDF using

EO.Pdf.HtmlToPdf.Options.BaseUrl = BaseURL;
EO.Pdf.HtmlToPdf.ConvertHtml(finalHtml, responseStream);

The PDF has an extra blank page at the end of the document. Here is the html passed to the
converter

eo_support
Posted: Thursday, June 21, 2012 3:27:28 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Please send your test HTML file and all related files (such as CSS files) in zip format to us. Do not just post your HTML file here because we do not have your CSS file. We will PM you as to where to send the files.

Thanks!
jtwoods4
Posted: Thursday, June 21, 2012 3:34:14 PM
Rank: Newbie
Groups: Member

Joined: 6/5/2012
Posts: 4
I figured it out. The CSS had a page-break-always attribute that was causing the extra page.
eo_support
Posted: Thursday, June 21, 2012 3:39:03 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
OK. Thanks for the update!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.