Welcome Guest Search | Active Topics | Sign In | Register

Issues with HTML to PDF conversion Options
Arun Lal
Posted: Tuesday, May 24, 2016 9:34:57 AM
Rank: Member
Groups: Member

Joined: 5/19/2016
Posts: 11
Hi

I have couple of issues when transform HTML to PDF with EO.Pdf , please advice.

1. We have a DIV menu on left top most of the HTML , after PDF conversion menu is going towards the last PDF page. Any solution to fix this problem ?

2. Correct JavaScript calculated value outputs are not exporting to PDF. sample code below.

<div class="col-4 " >
<p class="h4-label fill-gauge-position">TLTV</p>
<xsl:choose>
<xsl:when test = "LOAN_FEEDBACK/@LoanProspectorInitialTotalLTVRatio">
<div id="TLTV"></div>
<script type="text/javascript">
var TLTV= <xsl:value-of select="LOAN_FEEDBACK/@LoanProspectorInitialTotalLTVRatio"/>
start('TLTV',TLTV);
</script>
</xsl:when>
<xsl:otherwise>
<p class="na-gray na-style">N/A</p>
</xsl:otherwise>
</xsl:choose>
</div>

function start(divname, percent)
{
var rp1 = radialProgress(document.getElementById(divname)).diameter(200)
.value(percent).render();

}
eo_support
Posted: Tuesday, May 24, 2016 12:06:27 PM
Rank: Administration
Groups: Administration

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

We can not find anything just by looking at your source file. There are a number of things you can try:

1. You can try to set HtmlToPdf.Options.ZoomLevel to a value smaller than 1 and see if that fixes the layout issue;
2. Use the JavaScript debug console feature to see if you have any JavaScript error:

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

3. Use Google Chrome browser to verify your output page to see if it renders correctly;

4. Download our latest version from our download page and see if it creates the correct output. Our latest version uses a much newer browser engine. So your page may not work correctly with the old version but may work correctly with the new version;

Thanks!
Arun Lal
Posted: Tuesday, May 24, 2016 1:11:11 PM
Rank: Member
Groups: Member

Joined: 5/19/2016
Posts: 11
hi

Since I am unable to upload/attach any screen shot finding difficulty in sharing more details.

Do we have any option available to do this ?

Thanks
Arun Lal
eo_support
Posted: Tuesday, May 24, 2016 1:17:46 PM
Rank: Administration
Groups: Administration

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

We won't be able to tell you much just from the screenshot. Also since your tech support has expired long ago, we will only point you to the right direction on this. You can try to follow the above steps and see if it resolves the issue for you.

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.