Author Topic: html2pdf plugin installation with wkhtml2pdf (when htmldoc missing)  (Read 3872 times)

gvagenas

  • Newbie
  • *
  • Posts: 5
    • View Profile
To the development team a BIG THANKS for this AMAZING application.

Now my 5 cents back to the community, how to use the html2pdf plugin when the htmldoc is missing.

My web host provider, hostmonster, doesn't provide me with the htmldoc so i figure out that there is a similar project WKHTMLTOPDF (http://code.google.com/p/wkhtmltopdf/) which can do the job for me.

This application comes with a binary static release, so no compilation needed. I just placed the binary to a folder accesible by the openGoo installation and then modified the opengoo/config/config.php to include these two lines:
define('HTMLDOC_COMMAND','/folder/of/my/choice/wkhtmltopdf');
define('HTMLDOC_ARGS','{src} {dest}');

I checked that and works ok for me.

Regards
George

carcam

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • Gnumla!
    • Email
Re: html2pdf plugin installation with wkhtml2pdf (when htmldoc missing)
« Reply #1 on: October 22, 2009, 05:47:33 am »
Great contribution!!!

Unfortunately my server doesn't have GLIB 2.4, so I can't use this software :(.

Anyway, lot of thanks for your 5 cents!!! ;)
Gnumla
Tu sitio de Joomla! en espaƱol