Has anyone else had issues when generating .pdf's using cfdocument? I
have around 400 .jpg 15 - 25kb jpg images I am trying to make into a
..pdf using cfdocument and a simple <img> tag. I am on Windows 2003 and
CF Enterprise 7.02, and jrun climbs to about 1.4 GB of ram and just sits
there munching, and while that wouldn't be so bad, it stops ANY other
process from running in CF! No web requests, notta. Does cfdocument
use multiple threads? Anyone else had this problem?
Here is my code, its pretty simple...
<!---// Create a pdf from this file //--->
<cfdocument format="PDF" pagetype="custom" orientation="portrait"
marginbottom=".5" marginleft=".5" marginright=".5" margintop=".5"
pageheight="7" encryption="128-bit" userpassword="#session.password#"
permissions="AllowPrinting"
pagewidth="8.5"filename="d:\temp\checkfile.pdf">
<!---// Loop through these files and send each one to a pdf //--->
<cfoutput query="DirList">
<img src="temp/#name#">
</cfoutput>
</cfdocument>
Chris Peterson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247774
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4