Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Reading PDF (taboo?)

by drewbie (Chaplain)
on May 20, 2004 at 05:16 UTC ( [id://354871]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Reading PDF (taboo?)
in thread Reading PDF (taboo?)

At $dayjob we mostly use htmldoc to create our PDFs. So we build the HTML and then run it through htmldoc to get the PDF. It's not perfect, and you don't get all the control like you can with PDF::API2. But one advantage of this method is that it gives us a web-accessible version for free!

And if you have an existing PDF you want to add pages to, look at importpage(). In our case, we have an existing report in PDF format that we want to add to a dynamic PDF document. It generally works great (we're using an older release since the latest require 5.8+), although I occasionally find it goes into deep recursion on some file when importing the pages. Haven't figured why, but my workaround is just to do more in htmldoc. :-)

Replies are listed 'Best First'.
Re: Re: Re: Re: Reading PDF (taboo?)
by dragonchild (Archbishop) on May 20, 2004 at 11:54 UTC
    If you use HTML::Template to build your HTML files, you can use PDF::Template to build your PDF files. :-)

    (Excel::Template can also help round out the trifecta of reporting formats.)

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

    I shouldn't have to say this, but any code, unless otherwise stated, is untested

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found