I want the user to click a 'View PDF' or 'Download PDF' button on the current web page, which would do nothing but execute JavaScript code that generates a PDF out the current page's look.
I tried jspdf but it did not work out at all, so what are my options?