[Klug-general] printing a web page to PDF

Dan Attwood danattwood at gmail.com
Tue Apr 22 10:14:24 UTC 2014


I have budget so a paid API isn't really an option


On 22 April 2014 11:05, Andrew Spode Miller <spode at justfdi.com> wrote:

> I did a project recently using the pdfcrowd API, but there are other
> methods using NodeJS I found, but it was more economical for my project to
> pay the API cost.
> On 22 Apr 2014 11:04, "Dan Attwood" <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
>>
>> _______________________________________________
>> Kent mailing list
>> Kent at mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/kent
>>
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20140422/f2e30192/attachment.html>


More information about the Kent mailing list