Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PDF BIG TEXT from PrintPDF.cfm

Status
Not open for further replies.

RosieGp

Programmer
Jun 23, 2009
83
US
Hi,
I have a problem printing data to PDF from SQL.
I'm using
<tr>
<td style="font-family:Arial, Helvetica, sans-serif;
font-size:12px; font-weight:bold;">Text</td>
<td>#qryText.Some_text# </td>
</tr>

Using this the PDF show big data returning from the SQL DB.
It overwrites all the styles that I have and will show big text

Data coming from SQL is like
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Here is some text</FONT></P></TEXTFORMAT>
Please let me know if there is a way around this...

Any suggestions....
 
Make sure you're not really zoomed in on the document, make sure you're viewing the pdf at 100% original size.

have you looked to see what happens if you don't save the additional formatting? Save some simple text to the database and see if you get the expected results. example: "here is some basic text." it's possible the distiller isn't parsing the tags correctly.

Vegans are friends, not food...
 
I did put text without the tags it shows up fine... But with tags it show big text....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top