How to get the print as PDF result using jquery
<p>I would like to get the HTML page in the PDF.</p>

<p>After some studies I found the pdfJS plugin, it has some problem with bootstrap , the layout will be messy</p>

<p><a href="http://jsfiddle.net/5ud8jkvf/" rel="noreferrer">http://jsfiddle.net/5ud8jkvf/</a></p>

<p>here is the fiddle</p>

<p>I found the default print as PDF result is great </p>

<p><a href="https://i.stack.imgur.com/4rl3r.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4rl3r.png" alt="enter image description here"></a></p>

<pre><code>var doc = new jsPDF();
var specialElementHandlers = {
    '#editor': function (element, renderer) {
        return true;
    }
};

$('#cmd').click(function () {
    doc.fromHTML($('#content').html(), 15, 15, {
        'width': 170,
            'elementHandlers': specialElementHandlers
    });
    doc.save('sample-file.pdf');
});
</code></pre>

<p>So , instead of fixing the problem for pdfJS, I wonder are there html / jquery way to get the pdf from the print as pdf.</p>

<p>The HTML need to convert to PDF is one page application form only, thanks a lot</p>