BigLug has asked for the wisdom of the Perl Monks concerning the following question:
I'm a designer who has layouts of business cards for many businesses. We get more and more orders for the same cards, just with new information.
I'd like to be able to create a PDF file of a business card but instead of people's details it will contain variables.
What happens next is that I run my yet-to-be-written perl program. It opens the given PDF file and finds all the variables. (They might look like '#firstname#'). The mythical program will then ask me for a firstname.
Once I enter the apropriate information, the script will then output a new PDF with the variables replaced with the data.
This has to be possible, I'm just not sure where to start. I've looked at the various PDF modules but they seem to be too low-level, or just for reading, or just for creating.
If anyone has any experience or suggestions for manipulating PDF files let me know.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Playing with PDFs
by andreychek (Parson) on Feb 13, 2003 at 04:14 UTC | |
by BigLug (Chaplain) on Feb 13, 2003 at 04:21 UTC | |
by Cody Pendant (Prior) on Feb 13, 2003 at 04:41 UTC | |
|
Re: Playing with PDFs
by simon.proctor (Vicar) on Feb 13, 2003 at 09:38 UTC | |
|
Re: Playing with PDFs
by dragonchild (Archbishop) on Feb 13, 2003 at 14:42 UTC | |
|
Re: Playing with PDFs
by nite_man (Deacon) on Feb 13, 2003 at 08:13 UTC | |
by forrestc (Initiate) on Feb 13, 2003 at 08:48 UTC |