I am having problems with WKHTMLTOPDF. It just doesn’t work on my host provider. I can manually run a command and get it to work:
wkhtmltopdf --page-size Letter --orientation Portrait --outline-depth 0 --header-right “[page]” file:///home/smp66613/public_html/system/_lib/tmp/sc_grid_glaccts_html_7e3b80edd35d19462dadeee17c9b8a74.html /home/smp66613/public_html/system/_lib/tmp/sc_pdf_20150520193712_829_grid_glaccts.pdf
As you can see though, I have to use the file:// directive for a local absolute path. Scriptcase automatically puts in the http:// directive. Also, because I am running on a shared host, the bundled package in _lib/prod/third/wkhtmltopdf/ gives me a bus error when I try to invoke from terminal.
The hosting provider was kind enough to install WKHTMLTOPDF, globally, on the server. I can run the command above with success, but Scriptcase wants to format it like this, which doesn’t work:
./wkhtmltopdf-amd64 --page-size Letter --orientation Portrait --outline-depth 0 --header-right “[page]” http://www.mydomain.com/system/_lib/tmp/sc_grid_glaccts_html_7e3b80edd35d19462dadeee17c9b8a74.html /home/smp66613/public_html/system/_lib/tmp/sc_pdf_20150520193712_829_grid_glaccts.pdf
Is there a file in Scriptcase where these settings are can be changed so that I could hard code which wkhtmltopdf application to look at and to tell Scriptcase to use the file:// directive?
Thanks.