title: Adding Footer to pdf using jsPDF
body: <p>I am generating pdf from <a href="https://github.com/MrRio/jsPDF" rel="noreferrer">jsPDF</a> api , I want to add footer to each page with page number .</p>
  
  <p>How to achieve this .  It is having option of adding footer from fromHTML plugin , but I am writing without HTML.</p>
  
  <pre><code>var doc = new jsPDF("portrait","px","a4");
  </code></pre>