Welcome Guest Search | Active Topics | Sign In | Register

EO.Pdf - Long initialization Options
Emakina
Posted: Wednesday, May 11, 2016 9:05:13 AM
Rank: Newbie
Groups: Member

Joined: 5/11/2016
Posts: 2
Hi,
initial use of HTML to PDF is "false". My idea is that is due to initialization of the control.
First PDF made from the HTML is lacking content and/or is broken.
I thought that was from my code so I tried Your web solution for conversion and got this :
http://screencast.com/t/sVpwWkZTBboR
This is how the page looks like after initial conversion :
http://screencast.com/t/MSRWUG6FMJ

After some time, probably when cache expires...the problem is back. Is there a way
to initialize the control once, and that it stays initialized constantly? Thank You.
eo_support
Posted: Wednesday, May 11, 2016 10:07:06 AM
Rank: Administration
Groups: Administration

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

The most common reason for such problem is the conversion occured before your script has finished loading all resources. You can resolve this issue by either increasing HtmlToPdf.Options.MinLoadWaitTime or to use manual trigger:

http://www.essentialobjects.com/doc/pdf/htmltopdf/trigger.aspx

Please let us know if this resolves the issue for you.

Thanks!
Emakina
Posted: Wednesday, May 11, 2016 10:27:14 AM
Rank: Newbie
Groups: Member

Joined: 5/11/2016
Posts: 2
There are no scripts running on that specific page. For the conversion I'm disabling scripts and using different css.
eo_support
Posted: Wednesday, May 11, 2016 2:46:46 PM
Rank: Administration
Groups: Administration

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

In that case can you PM us with the Url that you are trying to convert so that we can take a look?

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.