P is for Practical | |
PerlMonks |
Playing with PDFsby BigLug (Chaplain) |
on Feb 13, 2003 at 03:49 UTC ( [id://234893]=perlquestion: print w/replies, xml ) | Need Help?? |
BigLug has asked for the wisdom of the Perl Monks concerning the following question:
I've searched here and CPAN for an answer, but as yet I have no solution. Thus I ask for your wisdom, fellow monks. 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.
Back to
Seekers of Perl Wisdom
|
|