> Faced with a similar problem in CF 8 some time ago, I used some javascript 
> (not cflocation)
> at the bottom of the document like this:
> <cfdocument  filename="#tempfile#" ...
>
> <your pdf html code goes here....>.
>
> </cfdocument>
> <cfif fileexists(tempfile) and attributes.command eq 'file'>
>        <cfset thisresult = ordersobj.sendpdfquotefile(session.user, 
> client_order_id, tempfile)>
>        <cfif thisresult.insertsuccess>
>                <script language="JavaScript">
> ...

I don't think that will work for the original poster, as he's not
emailing the document but delivering it directly as a download. When
you do that, you won't be able to include any non-PDF content in your
output and have that content used by the browser.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, o

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333818
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to