When trying to convert a web page to pdf dynamically using php and any other libraries and if that web page contains Javascript maps,charts,Images - the best open source work around looks like WKHTMLTOPDF. I installed this software and i was able to generate a PDF file from the Windows CMD. However i want to use a PHP functionality/library: PHPWKHTMLtoPDF(http://ift.tt/1iIkOoM) and i am facing difficulty. phpwkhtmltoPdf does not seem to have a step by step process on how you actually generate a pdf file. The documentation tutorial is probably the most heart wrecking. I have also been trying to look at StackOverflow issues with this library but things ARE NOT REALLY THAT straight forward: forexample: 1. How to install phpwkhtmltopdf 2. How do I get WKHTMLTOPDF to execute via PHP? 3. Installing phpwkhtmltopdf by mikehaertl
I have installed the wkhtmltopdf software on my PC and i also have a copy of the mikehaertl-phpwkhtmltopdf download from Github - so i dont need to use composer.
Can someone point out clearly the steps on how to generate a sample pdf given those 2 libraries??
Aucun commentaire:
Enregistrer un commentaire