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

Hi, You mean to say that in the subroutines of savePDFExtract by changing the .pdf extension to .html will do the task for me . Can u explain in detail how it can be achieved as per ur sayings . Thankyou !
  • Comment on Re: Re: How can I convert a pdf to html with PDF::Extract?

Replies are listed 'Best First'.
Re: Re: Re: How can I convert a pdf to html with PDF::Extract?
by davido (Cardinal) on Nov 28, 2003 at 09:04 UTC
    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
      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 .