I've tried to use this post: How do I get WKHTMLTOPDF to execute via PHP? but I'm missing something.
I'm hoping for a real dummies guide here...
Installing mikehaertl-phpwkhtmltopdf on windows/xampp/codeigniter
- Acquire and install wkhtmltopdf. This will typically install to C:\program files\wkhtmltopdf\lib or similar on windows.
- Acquire and unpack Mikehaertl's wrapper (e.g. wkhtmltox-win64_0.12.0-03c001d)
- Place the WkHtmlToPdf.php file in
???????
- Do I edit the WkHtmlToPdf.php file and put in
- the binPath (C:\program files\wkhtmltopdf\lib)
????
- the output folder
????
- the binPath (C:\program files\wkhtmltopdf\lib)
Now test it with
shell_exec("c:/programs/wkhtmltopdf/wkhtmltopdf.exe http://www.google.com c:/google.pdf");
As I may have mentioned... the real dummies guide. :(