Solved

ASP producing Adobe FDF file for PDF form population

Posted on 2007-04-11
3
1,172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
send email part1 9 53
MS SQL 2008 and stored prodcures and dates 5 35
ASP and Extracting XML 7 46
Save data in two Database, Asp 2 70
The ability to edit PDF documents can be useful, however it may not be a straight forward process. Many non-technical people don't realise that a PDF document is basically an image rather than a text file, even if it contains nothing but text. If…
Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

751 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