Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support


All forums · Statistics · Search ·

Two Pilots forum / For software developers / HTML2PDF page being truncated
Author Message
Anonymous
# Posted: 7 Sep 2005 19:01


Hi!

I'm trying to convert an HTML document useing HTML2PDF add on. It's working, however the right hand side of the HTML (that looks fin in a browser) is being cut off. How do I handle this in the code?

Thanks!

Stanislav
# Posted: 7 Sep 2005 19:03


Hi !

Can you send us your HTML file using our support form, or maybe just URL.

Thank you very much !

Best regards,
Stanislav
Two Pilots

Anonymous
# Posted: 7 Sep 2005 20:13


I'll shoot it over now. Thanks!

Anonymous
# Posted: 7 Sep 2005 21:23


Should be there now. :-) Thanks again!

Anonymous
# Posted: 24 Oct 2005 18:49


I am having a similar issue. If you provided a solution for this, could you please post? Thank you.

Stanislav
# Posted: 24 Oct 2005 19:02


Hello,

You can send us your HTML and script using support form, and we'll test it.

Thank you very much !

Best regards,
Stanislav
Two Pilots

Trish Middleton
Member
# Posted: 19 Jun 2006 22:50


Was a solution found for this? Our left margins are getting chopped off.

Stanislav
Member
# Posted: 20 Jun 2006 10:42


Dear Trish,

Please download latest version of the library.

Thank you very much !

Best regards,
Stanislav
Two Pilots
www.colorpilot.com

Please note that we change our email address from time to time
to reduce spam. So if it stops working, just visit our feedback form:
http://www.colorpilot.com/support.html

Trish Middleton
Member
# Posted: 20 Jun 2006 22:54


I have downloaded the new version. But now I can't seem to get it to set the right margin. In fact, it is going off the page.

HTML2PDFAddOn.HTML2PDF2Class HTMLDoc = new HTML2PDFAddOn.HTML2PDF2Class();
HTMLDoc.StartHTMLEngine(.........);
HTMLDoc.MarginTop = 40;
HTMLDoc.MarginLeft = 36;
HTMLDoc.MarginRight = 50;
HTMLDoc.MarginBottom = 36;
HTMLDoc.ConnectToPDFLibrary(PDFDoc);
HTMLDoc.LoadHTMLString(HTML, "");
for (int i = 0; i < HTMLDoc.TotalPageCount; i++)
{
if(!_BeginningOfRun)
HTMLDoc.SafeNewPage();
else
_BeginningOfRun = false;
..... watermark stuff
HTMLDoc.ConvertPage(i);
..... watermark stuff
}
HTMLDoc.DisconnectFromPDFLibrary();

Stanislav
Member
# Posted: 21 Jun 2006 12:23


Dear Trish,

Please send us your HTML and code in zip archive using our support form.

Thank you very much !

Best regards,
Stanislav
Two Pilots
www.colorpilot.com

 

 

Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.014

 

Page top