title: How to add top margin when using html2canvas and jspdf, when the canvas is split on multiple pages?
body: <p>I'm using HTML2Canvas and jsPDF to create a pdf of a dynamic webpage, when the size of the canvas is great than one page I add another page and re-add the image shifting it up to the next page.  Everything is working well however I can not figure out how to set the top margin and as a result the 2nd page onward all the content is on the very top of the page.  Is there a way to set the top margin for all pages?</p>
  
  <pre><code>            html2canvas($("#formpdfarea"), {
              onrendered: function(canvas) {
                  var imgData = canvas.toDataURL(
                      'image/png');     
                  var doc = new jsPDF('l', 'mm', 'letter');
                  doc.addImage(imgData, 'PNG', 5, 0);
  
                  //output is 96dpi, additional pages added if output is greater than 816 pixels (816p/96dpi = 8.5 inches)
                  if(canvas.height &gt; 816){ 
                      for(i=1; i*816&lt;canvas.height; i++){
                          doc.addPage();
                          //-215.89mm which is -8.5inches
                          doc.addImage(imgData, 'PNG',5,-215.89*i);
                      }
                  }
                  doc.save('formoutput.pdf');
              }
          });
  </code></pre>