Solved

ASP producing Adobe FDF file for PDF form population

Posted on 2007-04-11
3
1,176 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe INTRODUCTION This article presents a solution to a question (http://www.experts-exchange.com/Programming/Installation/Q_28396542.html)…
Have you ever come up with a need of emailing only few pages of PDF file to one of yourfriend or colleague, instead of whole Adobe file? If yes, then surely you have face problems in doing that! Read this section as I have suggested multiple solutio…
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 sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

615 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