Can I call wkhtmltopdf from another location?

Hi,

my hosting pvovider disabled to run binaries for webusers, but allows to call wkhtmltopdf from
/usr/local/bin/wkhtmltopdf How can I configure my application to use it? Jozsef

If you generate the code you will see in the generate code the place where wkhtmltopdf is started. Just alter the generated code to add the path and you are done…
I would do that, it is the simple way…

Thanks, but it’s not too simple way, if I have 25 grids, and needs update the site twice per day :rolleyes:

The problem fixed by the provider, I asked a symlink from /usr/local/bin/wkhtmltopdf to site’s wkhtmltopdf instead of original wkhtmltopdf. It works fine.

I think the next ScriptCase versions can be an useful feature a configurable wkhtmltopdf path anywhere in settings. Ment?s
Ment?s

Agreed!! That would be a very good idea.
It would mean that only ONE deployment of wkhtmltopdf is needed. And all my apps could use that one…

Just FYI the wkhtmltopdf that scriptcase delivers in V8 is an older version. You can replace it with the official version which has various bugs fixed. And next to that you then also get wkhtmltoimage which does the same but output to an image file…

Just my 2 cts…