0

I have tested JavaScript library jsPDF for a exporting a complete page to pdf and downloading the same. Wasn't really happy with the format of elements that has an overflow which I have handled through CSS. But seems to get the basic work dome. Also has some issues if i assign it to onload event. The page gets stuck and browser stops responding.

  • Hello and welcome to [SO].Please take time out for a [tour] and visit the [help]. You might also want to read [ask]. – Sampada Aug 04 '16 at 05:41
  • Possible duplicate of [How to convert HTML to PDF using iTextSharp](http://stackoverflow.com/questions/25164257/how-to-convert-html-to-pdf-using-itextsharp) – Borja Tur Aug 04 '16 at 06:43

1 Answers1

0

The Kendo library seem to do an Ok job for me clientside but you do get some rendering issues now and then.

You will get the best results from a server side rendering library. You can scrape the HTML from the DOM and send it server side to a rendering engine like ABCPDF and the results are usually pretty good.

Adrian Brand
  • 20,384
  • 4
  • 39
  • 60