Welcome Guest Search | Active Topics | Sign In | Register

Eo.PDF doesn't export all pages into pdf Options
Pavel Srot
Posted: Friday, July 26, 2013 11:42:27 AM
Rank: Newbie
Groups: Member

Joined: 7/26/2013
Posts: 6
Hi,
We have issue with EOPDF componenet, when we exporting html page with lot of pictures on this page, that sometimes in PDF file we don't see all content (it for example cut it in the middle of the picture). For example we try to export page which should have for all time 14 pages in pdf, but sometimes we got 10 sometimes 4 and sometimes all. After deeper investigation I found, that it most likely depends on load of pc on which export runs.
Did someone encounter with this type of issue?
EoPdf doesn't output any error (no exception) when it happens.
eo_support
Posted: Friday, July 26, 2013 11:51:58 AM
Rank: Administration
Groups: Administration

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

Please try the following:

1. Try to update to the latest build and see if it fixes the problem. We have done many optimizations over the years so the latest may work better.

2. Check your web server logs. It's possible that your server simply refuse to serve all the contents when its load is high. In that case obviously you won't get all the output in the PDF file. If you use ConvertHtml, you will want to log the HTML you passed to the converter, then compare the logs between "good PDF" and "bad PDF" and see if you can find anything difference between the input;

3. Try to increase HtmlToPdf.Options.MinLoadWaitTime. If your page uses AJAX to load additional contents, then it's possible that the converter will start converting before your AJAX code has finished because the converter does not know when your code has finished loading contents dynamically. If that's the case, you can also consider manual trigger:

http://www.essentialobjects.com/doc/4/htmltopdf/eo_js.aspx#manual_trigger

Hope this helps. Please let us know if the problem continues.

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.