you could use cfcontent to include a pdf from elsewhere, but not to
generate one from scratch (unless you wanted to output native
postscript, which is possible but not easy)
you could use cfdocument to create one, but only on mx7+

Since there is nothing built-in that handles pdfs in version 6, you
are going to have to add on a third-party solution. Don't worry, most
are free.

There is a ready-made coldfusion tag called html2pdf that can help you.
There is also a java library called iText that can get you there.

There are good examples and tutorials for either. Google will get you
info on either.

On 1/25/06, Torrent Girl <[EMAIL PROTECTED]> wrote:
> Ok I am lost.
>
> I am using CFMX 6 not 7.
>
> Can't I use CFCONTENT to generate a PDF?
>
>
>
>
> >As people have noted you have several options open to you - with CF7 you
> >have cfdocument which under the good uses iText.  With CFMX you have iText
> >as it is. And with all you can simple write our a postscript file using
> >text.
> >
> >
> >
> >
> >
> >
> >
> >
> >"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
> >Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
> >Registered in England, Number 678540.  It contains information which is
> >confidential and may also be privileged.  It is for the exclusive use of the
> >intended recipient(s).  If you are not the intended recipient(s) please note
> >that any form of distribution, copying or use of this communication or the
> >information in it is strictly prohibited and may be unlawful.  If you have
> >received this communication in error please return it to the sender or call
> >our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
> >communication are not necessarily those expressed by Reed Exhibitions."
> >Visit our website at http://www.reedexpo.com
> >
> >-----Original Message-----
> >From: Randi Knutson <[EMAIL PROTECTED]>
> >To: CF-Newbie <[email protected]>
> >Sent: Wed Jan 25 16:48:10 2006
> >Subject: Re: Need help quick - Creating a dynamically populated PDF
> >
> ><cfquery ....>
> >       your sql here
> ></cfquery>
> ><cfdocument format="pdf">
> >       <cfinclude your display formatting here>
> ></cfdocument>
> >
> >[EMAIL PROTECTED] on Wednesday, January 25, 2006 at 7:45 AM -0800
> >wrote:
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1596
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to