title: How to add header and footer in jspdf?
body: <p>I want to add header and footer in jspdf. I had created a pdf using jspdf()</p>
  
  <pre><code>Var doc=new jspdf()
  </code></pre>
  
  <p>And added some static text using <code>doc.text()</code> method. Then I had used autotable to generate various customized tables according to dynamic data.</p>
  
  <p>I had not used <code>doc.addPage()</code> method to generate a new page it is done by tables automatically.</p>
  
  <p>My problem is that I have to insert header and footer to every page and have no idea how to do that.</p>
  
  <p>Note that I had not use HTML to PDF module, I had done it just by the jspdf plugin.</p>