Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Simple Perl PDF Creation

by grantm (Parson)
on Dec 14, 2011 at 21:33 UTC ( #943619=note: print w/replies, xml ) Need Help??


in reply to Re: Simple Perl PDF Creation
in thread Simple Perl PDF Creation

I'll put in another vote for PDF::Reuse. It's lightweight from the perspective of:

  • few dependencies
  • quick to load
  • very fast at runtime
  • API is small

The interface is nothing like Template Toolkit. Instead you call functions to select a font and then write text to particular X, Y coordinates. The text can be aligned left, right or centered but if you need to wrap text in a box then you'll have to do the hard work yourself - which might make a different module a better choice. Also if you want to draw lines or boxes then the API really just lets you inject the relevant raw PDF commands - which some people might consider a negative.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://943619]
help
Chatterbox?
[shmem]: s/beans of coffee/enterprise beans/ :-P
[erix]: Take your bottles -- you're all invited! :)
[panwarsagar]: I have started learning Perl and my moto is to process a text file and storing the contents in a Data Base

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2017-03-28 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (330 votes). Check out past polls.