Take a look at the pdf spec. I believe fillable values can go in an
extension section at the end of the form. Your rpg could simply copy the
original form file into a new ifs location and then put in the values
for the fillables in the appropriate syntax. This will require some
experimentation as the creator of the form will have his own
interpretation of the pdf spec and you'll have to comply with that
interpretation.
You can probably figure this out by looking at the PDF form with an
ASCII hex viewer and looking at the same form after filling in values.
Look at the end of the file. PDF is designed as an extensible format;
you can add a page by doing just a few manipulations at the end of the
file and then adding the pdf for the new page. I'm guessing the values
for fillable fields are going to go in the same space.
I haven't done a PDF project for some time (now I just use iText) and
I'm not real familiar with the fillable addition to the spec. It was
just being proposed last time I was "intimate" with the spec. The spec
is "open" so you should be able to read up on it.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin
Sent: Friday, June 04, 2010 12:40 PM
To: Midrange Systems Technical Discussion
Subject: Is it possible to fill out a .pdf form using RPG?
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?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.