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.

  • The github project is the 'source' code. You need to compile it to an executable or download the pre-compiled version. – Beebee May 3 '17 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 May 3 '17 at 19:49
  • wkhtmltopdf.org/downloads.html – Beebee May 4 '17 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 May 4 '17 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 May 6 '17 at 4:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.