[Klug-general] printing a web page to PDF

Alan alan at hipnosi.org
Wed Apr 23 11:49:12 UTC 2014


I use this, with bash or php or anything, there is even a C Lib.

http://wkhtmltopdf.org/


On 22/04/14 13:36, Tim McDonnell wrote:
>
> Yeah the only ones I know of are paid like pdftron but it's yearly 
> licence bloody powerful though.
>
> On 22 Apr 2014 11:04, "Dan Attwood" <danattwood at gmail.com 
> <mailto:danattwood at gmail.com>> wrote:
>
>     Hi
>
>     Does anyone have a good method to put a button on a web page that
>     when clicked it will generate a pdf of all the content in '<div
>     id="content"></div>' and force it to download.
>
>     I've tried jsPDF but can't get it to create the PDF without if
>     also stripping all the formatting.
>
>     Dan
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20140423/9084e8e7/attachment.html>


More information about the Kent mailing list