Put this on the page you are working on. Put the content that you want in
the pdf in the cfsavecontent block.
<cfoutput>
<a href="#Script_Name#?action=gimmie"></a>
</cfoutput>
<cfsavecontent variable="MyContent">
Your content goes here
</cfsavecontent>
<cfoutput>
#MyContent#
</cfoutput>
<cfif URL.Action EQ "gimmie">
<cfdocument
format = "PDF"
overwrite = "yes"
encryption = "none"
fontembed = "yes"
backgroundvisible = "no"
margintop ="0.20"
marginleft="0.20"
marginright="0.20">
#MyContent#
</cfdocument>
</cfif>
On Wed, Dec 3, 2008 at 11:11 PM, Steve Sequenzia <[EMAIL PROTECTED]> wrote:
> I am looking for some help getting on creating a pdf from a hyperlink. I
> need to it to use content on the same page for the pdf. I do not want the
> entire page created as a pdf just a section of the page.
>
> Can someone please point me in the right direction for this.
>
> Thanks in advance.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316241
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4