× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Booth,

Assuming the .pdf is a PDF form, you should be able to create a stream file with a .fdf extension. The .fdf file is just text that specifies the name of the .pdf form it's related to, and a list of field names and values. It's pretty easy to create a stream file from RPG.

If you have Adobe Acrobat Professional, you can see the format of the .fdf file by going to the Advanced menu, Forms, Export Forms Data. After creating the .fdf file, use any text editor such as wordpad to look at it. Here's an example:

%FDF-1.2
%âãÏÓ
1 0 obj
<</FDF
<<
/FS /URL
/F(file://MyServer/forms/Evaluation.pdf)
/Fields[
<< /T(Teacher) /V(Kelly) >>
<< /T(ChildName) /V(Penny) >>
<< /T(DateOfBirth) /V(01/01/2001) >>
]
>>
>>
endobj
trailer
<</Root 1 0 R>>
%%EOF

/FS indicates the type of file name in the /F spec
/F indicates the name of the related .pdf
/T indicates a field name
/V indicates the value for that field

This is all explained in the Adobe PDF Reference manual, chapter 8.

*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /

On 6/4/2010 10:39 AM, Booth Martin wrote:
We use a .pdf form to print a quarterly report and submit it. Is it
possible to fill that form out with an RPG program?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.