ByNary010101
Programmer
Hey all, quick question (hopefully). I'm trying to use the fdf application type to display a PDF document populated with information from a DB through raw fdf code and not the development kit. My issue is that whenever I try to open the ASP page that serves up the fdf which in turn serves up the PDF it won't do it, instead I get the following sequence:
--a file download dialog
--if I click "Open", Adobe 5.0 starts up and then displays a dialog "The form C:\ est.pdf, specified within FDF, was not found. Would you like to browse for it?"
--when I click "Yes" I find the PDF in the exact spot that I specified in the FDF
--then it opens like it is supposed to except it isn't displayed in the browser
I'm lost as to what I'm doing wrong; below is some sample code I have been using:
I hope my explanation made sense. Thanks.
--a file download dialog
--if I click "Open", Adobe 5.0 starts up and then displays a dialog "The form C:\ est.pdf, specified within FDF, was not found. Would you like to browse for it?"
--when I click "Yes" I find the PDF in the exact spot that I specified in the FDF
--then it opens like it is supposed to except it isn't displayed in the browser
I'm lost as to what I'm doing wrong; below is some sample code I have been using:
Code:
<% Response.ContentType = "application/vnd.fdf" %>
%FDF-1.2
1 0 obj
<<
/FDF
<<
/Fields [
<< /T (txtFirstName) /V (Mike) >>
<< /T (txtLastName) /V (Johnson) >>
]
/F (C:\test.pdf)
>>
>>
endobj
trailer
<<
/Root 1 0 R
>>
%%EOF>
I hope my explanation made sense. Thanks.