March 8, 2012

wkhtmltopdf: how to use it?

Question by Adam Strudwick

I want to be able to generate and save a PDF version of a PHP page. I found out, on Stackoverflow, that the most recommended is wkhtmltopdf: http://code.google.com/p/wkhtmltopdf/

However, I don’t have any Shell or binary knowledge; I only know HTML and PHP.

Could anyone CLEARLY guide me on how to get a php page generate a PDF document using wkhtmltopdf (using only FTP and PHP)?

Answer by Starx

I recommend reading their project page. Specially their usage wiki and php integration part,

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+

...

Please fill the form - I will response as fast as I can!