Copy link to clipboard
Copied
I’ve a bizarre problem, i think!
Colfusion 9 Standard edition is installed Locally and on our Live server. Exact same build and version but PDF’s generate differently on both..
On the Local Server it generates at 100% resolution, crisp and very legible.
On the live server it generates only about ¾ across the page.
Code is the same on both servers..
<cfdocument format="PDF" scale="100" name="rfqform" pagetype="a4" >
<cfdocumentitem type="header">
<div style="font-family:Trebuchet MS; color:##666; font-size:12px;">Quotation Request</div>
</cfdocumentitem>
<LINK REL="StyleSheet" HREF="http://www....com/skin/quote365/style/style.css" type="text/css">
<img src="images/pdfheader.jpg" align="middle" />
<div style="font-family:Trebuchet MS; color:##666; font-size:11px;">
<!---Include the Form Details--->
<cfinclude template="../rfq/#rfqfilename#">
<!---Need to also include the Contact Details--->
<cfinclude template="../rfq/customerdetailsconfirmation.cfm">
</div>
<img src="images/quote365_pdffooter.jpg" align="middle">
<cfdocumentitem type="footer">
<div style="font-family:Trebuchet MS; color:##666; font-size:12px;">© 2010</div>
</cfdocumentitem>
</cfdocument>
Is there some setting i can set on the CF9 server that will change this??
The resolution of the PDF on server is really bad.. you have to keep magnifying it to make it legible.
It would be great if someone knows the answer to this
Jennifer
Copy link to clipboard
Copied
Are you using the same client software to view the pdf files each time?
Copy link to clipboard
Copied
Do you mean Adobe Reader? Both versions of PDF are being opened by the same
programme.
They have been generated differently on both servers.. even though it's the
same code..