wkhtmltopdf RedHat 5 installation

(2 posts) (2 voices)
  1. situ, Member

    Does anyone have any tips on installing wkhtmltopdf on Linux RedHat 5?

    My install will work when using a web page as a source file but files when using a static file

    Eg.

    wkhtmltopdf http://www.google.com test.pdf
    Loading pages (1/5)
    Resolving links (2/5)
    Counting pages (3/5)
    Printing pages (5/5)
    Done

    The above works, the following fails

    wkhtmltopdf /tmp/185711179.html test.pdf
    Loading pages (1/5)
    [========>
    ] 14%

    or should I say freezes.

    The install file I used was wkhtmltopdf-0.9.9-static-i386.tar.bz2

    The actual application in mydbr runs the command and if I kill the process when it freezes give the following error

    There was an error (code:9) producing the pdf document
    Failed command: wkhtmltopdf -q --header-html http://abc.abc.com/abc.dev/app/webroot/mydbr/user/export_header_pdf.php --margin-top 13 /tmp/1277671773.html -

  2. myDBR Team, Key Master

    Have you tried with the newer version of the wkhtmltopdf?

    --
    myDBR Team


Reply

You must log in to post.