I'm printing a table with jsPDF + AutoTable and I want the page filter section to always be printed in the header of each page. As the example below is only printed on the 1 page ... ideas?
function printHTML() {
var doc = new jsPDF('p', 'pt');
var res = doc.autoTableHtmlToJson(document.getElementById("table-content"));
doc.setFontSize(13);
doc.setFontType("bold");
doc.text('header1' , 20, 40);
doc.setFontSize(9);
doc.setFontType("normal");
doc.text('header2', 20, 52);
doc.autoTable(res.columns, res.data, options);
doc.save("table.pdf");
};