1

I use The Print 7.2.x module and want to work with The wkhtmltopdf library.

I downloaded library files from this address: https://github.com/wkhtmltopdf/wkhtmltopdf (this comment adviced to download this version from git ) and extract downloaded folder on sites/all/libraries. I enable the wkhtmltopdf handler module and go to configuration pdf of print module . see these files for choose :

  • wkhtmltopdf (sites/all/libraries/wkhtmltopdf-master/docs/usage/wkhtmltopdf.txt)

  • wkhtmltopdf (sites/all/libraries/wkhtmltopdf-master/src/pdf/wkhtmltopdf.cc)

  • wkhtmltopdf (sites/all/libraries/wkhtmltopdf-master/wkhtmltopdf.qrc)

  • wkhtmltopdf (sites/all/libraries/wkhtmltopdf-master/wkhtmltopdf.pro)

when select one of these and go to status page recieved this error on status report:

Unsupported wkhtmltopdf version - The currently selected version of wkhtmltopdf () is not supported. Please update to a newer version.

I read several article about installation of this library but in those articles use command line . I can't understand how i can install this library and pdf generator on my drupal site.where is my require file library?

My host is linux centos 64bit - 6.x I use cpanel. and I am admin of server and have access to ssh.

Please help me. THank you beforehand.

6
  • The github project is the 'source' code. You need to compile it to an executable or download the pre-compiled version.
    – Beebee
    Commented May 3, 2017 at 11:40
  • thanks @beebee. where can I download the pre-compiled version? please give me link of suitable version for me (centos) to download.
    – omiti
    Commented May 3, 2017 at 19:49
  • wkhtmltopdf.org/downloads.html
    – Beebee
    Commented May 4, 2017 at 14:32
  • @beebee very very thanks for your replies. should I download centos rpm file? bitbucket.org/wkhtmltopdf/wkhtmltopdf/downloads/…....? after download and copy file to sites/all/libraries how can I install its for my drupal? I will need to shell and ssh? how?
    – omiti
    Commented May 4, 2017 at 19:03
  • please help me.Should I download rpm file for centos? copy this to site/all/libraries after download of file? For install rpm file should I run any command? what? thanks
    – omiti
    Commented May 6, 2017 at 4:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.