title: How do I get a multi-page pdf from a website using jsPDF and HTML2Canvas?
body: <p>I have a script that uses HTML2Canvas to take a screenshot of a <code>div</code> within the page, and then converts it to a pdf using jsPDF.</p>
  
  <p>The problem is the pdf that is generated is only one page, and the screenshot requires more than one page in some instances.  For example the screenshot is larger than 8.5x11.  The width is fine, but I need it to create more than one page to fit the entire screenshot.  </p>
  
  <p>Here is my script:</p>
  
  <pre><code>var pdf = new jsPDF('portrait', 'pt', 'letter');
  $('.export').click(function() {
        pdf.addHTML($('.profile-expand')[0], function () {
             pdf.save('bfc-schedule.pdf');
        });
   });
  </code></pre>
  
  <p>Any ideas how I could modify that to allow for multiple pages?</p>