Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASP producing Adobe FDF file for PDF form population

Posted on 2007-04-11
3
Medium Priority
?
1,182 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
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…

730 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