Solved

ASP producing Adobe FDF file for PDF form population

Posted on 2007-04-11
3
1,169 Views
Last Modified: 2012-08-14
Hello all,

I have what appears to be a simple project, but yet it's causing me serious headaches. I need to create a PDF from database data. I have the basic concepts down, but can't seem to get my FDF file to populate my PDF file.

This is my FDF file (in text)

%FDF-1.2
1 0 obj
<<
/FDF
<<
/Fields [
<</T(Recipient)/V(xxxxx)>>
<</T(Reason)/V(Taking on extra responsibilities)>>
<</T(NominatedBy)/V(xxxx)>>
<</T(ManagerName)/V(xxxx)>>
<</T(AwardDate)/V(11/04/2007)>>
]
/F(certificate.pdf)>>
>>
endobj
trailer
<</Root 1 0 R>>
%%EOF

And my PDF document contains the fields:

Recipient
Reason
NominatedBy
ManagerName
AwardDate

The PDF opens, but just doesn't fill in the data. Is there anything I'm missing, or can try, to get this to work?

Many, many thanks.
0
Comment
Question by:AlfaNoMore
3 Comments
 
LVL 4

Expert Comment

by:ETA-TECHNICIANS
ID: 18891908
I ran into some of this using the collaboration tool in Acrobat.  from looking at your FDF file code, I cannot spot an error - i am not an Adobe/FDF guru.  But I can give you a recommendation in going forward.  I would defintiely download the sample FDF file that Adobe supplies for this type of FDF file.  I would use the tabbing standard they use in the sample FDF file.  And then i would compare my FDF to the sample in order to make sure it is writing exactly like the sample, with the exception of the values unique to the file.  In my experience the FDFs are very tricky and one wrong step kills the whole deal.
Nothing earth shattering here, but thought I would throw my $0.00 in.  Anyways, i hope this helps.
0
 
LVL 9

Accepted Solution

by:
AlfaNoMore earned 0 total points
ID: 18897038
It would seem the problem was related to the path I was using for the /F element. I had it as a fully qualified URL, but when I tried it as a local reference (as per example), it worked a treat!

No explanation for this, as it should be fully qualified, but this doesn't work on our server! Wierd.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP CDO - Limiting Connections 3 59
PDF files not opening in browser 18 30
download Adobe Reader 6 38
Software tool to merge multiple PDF files into one document. 7 35
Power PDF (http://www.nuance.com/for-business/document-imaging-and-scanning/power-pdf-converter/index.htm) is the newest product from the Document Imaging division of Nuance Communications (http://www.nuance.com/). It is available in two editions — …
PDF files have been in the limelight due to its unmatched features.  Personal documents, emails, business reports and eBooks are all converted into PDF files owing to peerless features provided by it. Adding watermark to a PDF file is a method to se…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question