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

Re: Reading PDF files

by snadra (Scribe)
on Jul 21, 2003 at 14:19 UTC ( #276294=note: print w/ replies, xml ) Need Help??


in reply to Reading PDF files

Hello,

This is only a assumption, since I am at work, and cannot try if it is woking...
But you may want to try this:
Get the CPAN module HTML::HTMLDoc::PDF
It has a method called to_string wich seems to do what you want.

print $pdf->to_string();
I have no clue how it is handling images, wich are inside of the PDF.

snadra


Comment on Re: Reading PDF files
Download Code
Re: Re: Reading PDF files
by Helter (Chaplain) on Jul 21, 2003 at 15:03 UTC
    I don't think this does what you think it does. From the documentation:
    This Module is the result of a HTML::HTMLDoc PDF-generation.
    So I think if you have generated the pdf object (from HTML) and want to write it to a file, this is the function you would use.

    I already have a pdf file, and want to get text, not pdf formated output.
    Thanks for the effort!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2015-07-06 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (75 votes), past polls