Forum Moderators: phranque

Message Too Old, No Replies

Pdf

Acrobat PDF dynamic keyword generation

         

Alternative Future

1:52 pm on Apr 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello all,

Apologies if this has been posted in the wrong forum, I wasn't quite sure on which forum best fitted the question.

I have a hopefully simple question, which I would like to thank everyone in advance for any help/advice that can be offered. We have a PDF document (help file and tutorial as the content) that we would like to dynamically populate with text depending on a resource bundle file. About 90% of this PDF document would remain static, but a small percent would be taken from another document (if this is the way it would be done) referenced from the PDF. So we would only have to change this smaller document each time we generate and deploy to another client. Is there any plug-in or application that can assist in this process? I think it would be similar to a mail merge process.

TIA,

-Gs

Alternative Future

7:27 am on Apr 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



*bump* anyone?

txbakers

10:50 am on Apr 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I haven't seen anything like this, but having just finished my taxes, I see that TurboTax online does this constantly.

I'd love to know how it's done.

Alternative Future

10:52 am on Apr 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi txbakers,

Thanks for taking the time out to reply to my post! I *think* turbo taxes might use something like the PDF Template functionality bundled in Acrobat.

-Gs

txbakers

12:08 pm on Apr 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



so ifyou buy Acrobat, you can do something like that? that's clearly database driven.

sja65

12:43 pm on Apr 18, 2006 (gmt 0)

10+ Year Member



If you read the spec, you can see that pdf is meant to be an editable format, but almost nobody uses it that way.

Answer to original question.
I don't think pdf has the option of including external files. The closest thing I can think of would be something like ...
1) save your small file as an EPS
2) have your finalized pdf saved as a ps
3) include the eps in the ps (both of these formats are ascii so it is easy to script)
4) convert the ps into a pdf

Several years ago I did something like this when printing receipts (all except converting to pdf), so it is possible. I don't know of any commercial software to do it, but it isn't hard to program. ps and eps are both straight forward formats, pdf is okay and there are free tools for converting between the formats.