Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: using perl to build documents off of pdf templates

by traveler (Parson)
on Jul 30, 2002 at 15:38 UTC ( #186238=note: print w/replies, xml ) Need Help??


in reply to using perl to build documents off of pdf templates

I tried to do something similar and had a difficult time too. I found that Text::PDF comes with a tool called pdfstamp. This tool allows placing text anywhere "on" a PDF document in a choice of fonts. It is a perl script and it can easily be incorporated into other scripts. I'd use this to put the numbers on the tix. Then you wouldn't have to modify the template. The only "trick" is to figure out where on the page the numbers go, but that is not too tricky: I put footers on my pages on the third try...

HTH, --traveler

  • Comment on Re: using perl to build documents off of pdf templates

Replies are listed 'Best First'.
Re: Re: using perl to build documents off of pdf templates
by nmerriweather (Friar) on Jul 31, 2002 at 17:45 UTC
    ok

    i ended up sticking w/pdf api 2

    its got a text feature that can 'stamp' like the text::pdf suggestion -- so thanks on that!

    i just used api:2, because it lets you clone pages

    its a 1meg file though - ugh - so the overhead sucks for constant use. i did something in 'bad style' -- and had the use pdf:: in a seperate file that i 'do' as needed. i'm sure i'd be hung for that -- but it works :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://186238]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2019-10-18 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?