skiets opened this issue a year ago · 0 comments
This is my code:
$(document).ready(function() { var htmlContent = $('#printpdf').html();
html2pdf().set({ filename: 'sample.pdf', size: 'letter', }).from(htmlContent).save(); });