I am trying to use CFDocument to make a PDF of a web page.

I have an image that produces what kinds of looks like a missing image icon in 
the PDF.  When I click on thing in Acrobat it says "There was an error 
processing an annotation or link.  There was a problem reading this document 
(14)."

http://chadgray.info/Untitled-1.jpg

Now this code works fine on our development server.  Only on the production 
server do I get the problem.

My code to place the image is simple enough.  The page and image are in the 
same folder.  The PDF is saved into a sub-folder.

<td width="352" height="59" valign="top" align="center">
        <img src="invoicelogoNEW.jpg" border="0">
</td>

My code to make the pdf and save it is:
<cfdocument format="pdf" pagetype="letter" name="invoice" overwrite="yes">

<cffile action="write" file="#application.invoicePDFPath##fileName#" 
output="#invoice#">


Hmmmm now that I think more about this.  The area that this code is running 
from does have NTFS permissions on it so users have to login to use the web 
site.  Does CFDocument need permissions to grab the image and use it in the 
PDF????


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284354
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to