in reply to Re: Re: How can I convert a pdf to html with PDF::Extract?
in thread Can I convert a pdf to html with PDF::Extract??

No, I mean to say that the following snippet will output a complete PDF content header, followed by the PDF document that you've extracted, for the webserver to serve up to the HTTP client.

$pdf = PDF::Extract->new( PDFDoc=>'C:/my.pdf', PDFErrorPage=>"C:/myErrorPage.html" ); $pdf->servePDFExtract( PDFPages=>1);


Dave


"If I had my life to live over again, I'd be a plumber." -- Albert Einstein

Replies are listed 'Best First'.
Re: Re: Re: Re: How can I convert a pdf to html with PDF::Extract?
by Anonymous Monk on Nov 28, 2003 at 09:19 UTC
    Hi, I tries it but I get error as follows:

    There is system problem in processing your PDF Pages request

    <xmp>ERROR:There are no pages in adminhelp.pdf that match '' at/usr/lib/perl5/site_perl/5.8.1/PDF/Extract.pm 570 </xmp> My major aim is to just convert the .pdf file into .html file .The spacing of graphics and text should be proper . How is it possible . Thanks for ur previos sugestions .