I've just installed wkhtmltopdf which converts webpages to pdfs.
I can run it from the command line on the server like so:
wkhtmltopdf http://www.google.co.uk c:\google.pdf
wkhtmltopdf was added added to the path environmental variable. The real path to the exe is C:\Program Files\wkhtmltopdf\wkhtmltopdf.exe
I now want to run this with ColdFusion 8 using cfexecute.
<cfexecute name="c:\Program Files\wkhtmltopdf\wkhtmltopdf.exe"
arguments="wkhtmltopdf http://www.google.com c:\google.pdf"
timeout="10" />
I've tried a few different variations but can't seem to get it to work.
I've also had some "error 5 access is denied" messages but I understand this still might be a syntax issue rather than a rights issue.
Can anyone see issues with my code?