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


All forums · Statistics · Search ·

Two Pilots forum / For software developers / The scale
Author Message
conny
# Posted: 27 Jul 2004 08:46


What is the scale of a pdf dokument? I'm a new user and I cant figure out how to use scale and how many pixels there are in x and y.

Natalia
Member
# Posted: 28 Jul 2004 14:54


The default resolution of PDF surface is 72 dpi and can be changed via .Resolution property (in DPI). You can calculate number of pixels by multiplying resolution value and width of PDF page (that is given in inches)

Anonymous
# Posted: 23 Apr 2007 01:17


Dear Sir,

We are using 2.4

Poonam
# Posted: 23 Apr 2007 01:22


Dear Sir,

We are using PDF Creator Pliot 3.4 version and HTMLtpPDF Add On 3.4.6 version.
We are facing problem while converting HTML text to PDF document. Our HTML string is rendered correctly in the browser but the same string is displayed iin a very small font and copressed format in the pdf viewer. Below is our sample string:

<html><head><title>Contract - art-exchange.com</title><style type='text/css'>body,table,tr,td,p,div,span,strong {font-size: 11px; font-family:helvetica; color:#000000; }.title {font-family:helvetica; color:#000000; font-size: 16px; font-weight: bold; }.addr {font-family:helvetica; color:#000000; font-size: 14px}.art {background-color:black;color:white;font-family:Ge orgia,Times;font-size:60px;font-weight:bold;height :20;width:130;vertical-align:bottom}.exchange {color:black;font-family:arial;font-size:22px;font -weight:bold;width:130}.url {color:black;font-family:verdana;font-size:10px;wi dth:130}.small {font-family:helvetica; color:#000000; font-size: 10px}</style></head><body><table width='600' border='0' cellspacing='1' cellpadding='0'><tr><td width='475'><table width='140' border='1' cellspacing='0' cellpadding='0'><tr><td><div align='right' class='art'>test&nbsp;</div></td></tr><tr><td><div class='exchange'></div></td></tr><tr><td><div class='url'>test, inc.</div></td></tr></table></td><td width='125' align='right' valign='bottom'><p class='title'>Confirmation</p></td></tr><tr><td colspan='2'>&nbsp;</td></tr><tr><td colspan='2'></td></tr><tr><td colspan='2'>&nbsp;</td></tr><tr><td colspan='2'></td></tr><tr><td colspan='2'>&nbsp;</td></tr><tr><td colspan='2'></td></tr><tr><td colspan='2'>&nbsp;</td></tr><tr><td colspan='2'><table width='100%' border='1' cellpadding='0' cellspacing='0'><tr><td valign='top'><p><strong>Confirmation:</strong></p> </td></tr><tr><td valign='top'><div style='margin:15'><UL>
<li>One (1) Free listing to be submitted with completed art listing forms, digital images, and biography information (preferably on disk also). Listings stay on site until the artwork is sold.
<li>Failure to provide required information will result in delays in making artwork available for sale.
<li>Additional images can be listed for $20.00 each.
<li>Allow 30 business days from our receipt of your complete submission for the processing of your artwork.
<li>User should sign and return this confirmation. Signature page of the Membership Agreement should be signed and returned with in 48 hours of receipt of package. <em>Art submissions cannot be processed until receipt of signature page </em><strong>Cancellation policy </strong>: It is the policy of art-exchange.com to handle all cancellations and requests for refunds of membership-related fees paid to us by Users as follows: 1) The User will have five (5) business days from later of (a) the date of receipt of the User"`"s Membership Agreement or (b) the date on which the payment at issue was made (the "Cancellation Period"), in which to cancel a transaction and receive a full refund. 2) During the Cancellation Period, the User may cancel and request a refund by contacting art-exchange.com by e-mail, fax or telephone during the hours of 8:00 A.M. to 5:00 P.M., CST at the contact numbers or address at the top right of this contract. <em>Please note that it is the User"`"s responsibility to ensure that his or her request to cancel has been received during the Cancellation Period</em>. 3) After the expiration of the Cancellation Period, art-exchange.com will begin the art listing process, the sale will be considered final, and no refunds will be given.
</li>
</UL>&nbsp;</div></td></tr></table></td></tr><tr>< td colspan='2'>&nbsp;</td></tr><tr><td colspan='2'><table width='100%' border='1' cellpadding='0' cellspacing='0'><tr><td valign='top'><p><strong>Terms: </strong></p></td></tr><tr><td valign='top'><div style='margin:15'>&nbsp;</div> </td></tr></table></td></tr><tr><td colspan='2'>&nbsp;</td></tr><tr><td colspan='2'>&nbsp;</td></tr><tr><td colspan='2'><table width='100%' border='0' cellpadding='0' cellspacing='0'><tr><td valign='bottom' width='50%'><hr color='#999999' size='1'></td><td width='10%'>&nbsp;</td><td valign='bottom' width='30%'><hr color='#999999' size='1'></td><td width='10%'>&nbsp;</td></tr><tr><td align='center' class='small' valign='top' width='50%'>Signature</td><td width='10%'>&nbsp;</td><td align='center' class='small' valign='top' width='30%'>Date</td><td width='10%'>&nbsp;</td></tr></table></td></tr></ta ble></body></html>

Any kind of help will be highly appreciated.

Stanislav
Member
# Posted: 23 Apr 2007 09:17


Dear Poonam,

I've forwarded your information to developers.

Best regards,
Stanislav
Two Pilots
www.colorpilot.com

mvf
Member
# Posted: 23 Apr 2007 21:39


Our HTML string is rendered correctly in the browser but the same string is displayed iin a very small font and copressed format in the pdf viewer

Can you send us the result PDF file? Just archive it and sent to max.f@colorpilot.com

 

 

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

 

Page top