wkhtmltopdf not recognized?

roman
Forums
Hello, I'm trying to add WKHtmlToPDF support to Opigno 1.25 running on Drupal 7. wk is installed correctly on server side using xvfb. I created the symlinks as recommended in Opigno User Manual and then some: lrwxrwxrwx 1 www-data www-data 23 Mar 6 11:45 sites/all/libraries/wkhtmltopdf/wkhtmltopdf -> /usr/bin/wkhtmltopdf.sh and lrwxrwxrwx 1 www-data www-data 23 Mar 6 11:47 profiles/opigno_lms/libraries/wkhtmltopdf/wkhtmltopdf -> /usr/bin/wkhtmltopdf.sh However, the settings page does not seem to pick up this option, and continues to only display dompdf. Any clues? Thanks in advance.
Profile picture for user James Aparicio
James Aparicio

Since the latest release of

Since the latest release of the print module, the wkhtmltopdf is a submodule of the print_pdf module. Have you enabled the module wkhtmltopdf library handler? Best regards
markusd1984

enable "wkhtmltopdf library handler" under > Modules > List

Thanks, I found the "wkhtmltopdf library handler" under > Modules > List, enabled it and it works using the install how-to from opigno manual.apt-get install wkhtmltopdf apt-get install openssl build-essential xorg libssl-dev apt-get install xvfb echo "xvfb-run -a -s "-screen 0 640x480x16" wkhtmltopdf $*" | sudo tee /usr/bin/wkhtmltopdf.sh chmod a+x /usr/bin/wkhtmltopdf.sh cd /sites/all/libraries/ ln -s /usr/bin/wkhtmltopdf.sh wkhtmltopdf "Then you can change the PDF generator to be used, at Configuration -> User Interface -> Printer, email and PDF versions -> PDF, and choosing wkhtmltopdf."
axel

The user manual has been

The user manual has been updated accordingly to mention this issue. Thanks for reporting it