Welcome Guest Search | Active Topics | Sign In | Register

Blank bage at end of PDF Options
Paul Roskilly
Posted: Thursday, May 19, 2016 6:13:38 AM
Rank: Newbie
Groups: Member

Joined: 2/1/2012
Posts: 6
I am using : EO.Pdf.HtmlToPdf.ConvertUrl(url, outputStream);
to generate a PDF from a url and I always get a blank/empty page at the end of the PDF.

I am in control of the page on the url being converted and I can't see any reason for this page, there is plenty of room on the previous page left over.

The div on the page before the blank page has "page-break-after: avoid" set in css and if I put a background color on the div I can see the div ends on the page before the empty page.

By the way what rendering engine does EO.Html to PDF use, is it based on a browser installed on the machine or its own independent one.

Thanks,

Paul
eo_support
Posted: Thursday, May 19, 2016 11:34:37 AM
Rank: Administration
Groups: Administration

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

EO.Pdf has an embedded browser engine that is based on Chromium v49. So it is fully self contained and does not rely on anything on your user's machine.

As to the blank page, you can try to comment out your CSS block and see what triggered it. Usually as soon gas you can find out what triggered it, it will make sense to you. If you need any help, you can also send your test file to us and we will be happy to take a look. See here for more information on how to send test files to us:

http://www.essentialobjects.com/forum/test_project.aspx

Thanks!


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.