Q: jsPDF page formatting The below code pixelates the output / stretches resolution. 
I can't find any option to print the correct resolution.
const input = document.getElementById('printableTable');
    html2canvas(input).then((canvas) => {
        const imgData = canvas.toDataURL('image/png');
        const pdf = new jsPDF();
        pdf.addImage(imgData, 'png', 0, 0, 210, 297);
        pdf.save("download.pdf");
    });

