nmerriweather has asked for the wisdom of the Perl Monks concerning the following question:
for the life of me, i can't figure this out.
I have some nicely designed templates in a pdf file. 1 page. they're for tickets. art, text, everything -- they look pretty damn nice.
i wanted to use perl to take the one page, which holds 10 2"x4" tickets, and duplicate it as needed into 1 document -- substituting ###ticket### in the document for the appropriate ticket number
Hours of searching the docs, web, and this archive have nearly taught me how to build the pdf from scratch and solve my problem -- but still no clue how to use perl for templating off the one pdf
right now, the only thing i've managed to do, is use importpage from PDF::API2 to duplicate the page. still no idea how to replace text in it.
hopefully someone can help me out? maybe even suggest a better method -- i think with this method i'm duping the font data per-page bloating the filesize
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: using perl to build documents off of pdf templates
by jmcnamara (Monsignor) on Jul 30, 2002 at 08:10 UTC | |
by merlyn (Sage) on Jul 30, 2002 at 13:44 UTC | |
|
Re: using perl to build documents off of pdf templates
by greenFox (Vicar) on Jul 30, 2002 at 13:04 UTC | |
by nmerriweather (Friar) on Jul 30, 2002 at 17:13 UTC | |
|
Re: using perl to build documents off of pdf templates
by traveler (Parson) on Jul 30, 2002 at 15:38 UTC | |
by nmerriweather (Friar) on Jul 31, 2002 at 17:45 UTC | |
|
Re: using perl to build documents off of pdf templates
by tjh (Curate) on Jul 30, 2002 at 19:30 UTC |