> -----Original Message-----
> From: Jeff Small > Sent: Monday, June 07, 2004 12:54 PM
> To: CF-Talk
> Subject: Re: I don't even know what I need to be able to do
> this...[fdf/cf]
>
> > Yes, this is correct
>
> I used your code in a little test example, and all I'm seeing is Text
> rendered to the screen. Here is the *EXACT* contents of what I've got. Is
> there any good tutorial site for outputting a FDF file using CF that maybe
> could help me?
>
> <cfquery name="qGetSubmission" datasource="JeffTesting">
> SELECT *
> FROM tblPDFTesting
> WHERE tblPDFTesting.ID = #URL.ID#
> </cfquery>
//INSERT THIS LINE HERE!
<cfcontent type="application/vnd.fdf" file="#filename#">
> <cfoutput>%FDF-1.2
> %âãÏÓ
> 1 0 obj
> <<
> /FDF <<
> /Fields
> [
> <<
> /T(Name)
> /V(#qGetSubmission.Name# )
> >>
> <<
> /T(Address)
> /V(#qGetSubmission.Address# )
> >>
> <<
> /T(City)
> /V(#qGetSubmission.City# )
> >>
> <<
> /T(State)
> /V(#qGetSubmission.State# )
> >>
> <<
> /T(Zip)
> /V(#qGetSubmission.Zip# )
> >>
> <<
> /T(Liked)
> /V(#qGetSubmission.Liked# )
> >>
> ]
> /F(http://#cgi.HTTP_HOST#/jeff/pdf/SampleForm.pdf)
> >>
> >>
> endobj
> trailer
> <</Root 1 0 R>>
> %%EOF</cfoutput>
>
> Again, all I'm seeing is rendered plain text on the page, and I'm still on
> "viewPDF.cfm" rather than looking at the PDF with Form Data Inserted...I
> hope I'm not doing something stupid easy wrong...
>
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- I don't even know what I need to be able to do this...[fdf/cf... Jeff Small
- RE: I don't even know what I need to be able to do this.... Marlon Moyer
- RE: I don't even know what I need to be able to do this.... Marlon Moyer
- RE: I don't even know what I need to be able to do this.... Ian Skinner
- RE: I don't even know what I need to be able to do this.... Marlon Moyer
- Re: I don't even know what I need to be able to do this.... Marlon Moyer