Found out the solution to this,putting a rectangle as border for each pdf page and also starting the second page and other pages from a litte down by making difference in pageHeight,hope this will resolve for few...
html2canvas(myCanvas, { useCORS: false }, { allowTaint: true }).then(function (canvas) { var imgWidth = 210; var pageHeight = 290; var imgHeight = canvas.height * imgWidth / canvas.width; var heightLeft = imgHeight; var doc = new jsPDF('p', 'mm'); var position = 0; var pageData = canvas.toDataURL('image/jpeg', 1.0); var imgData = encodeURIComponent(pageData); doc.addImage(imgData, 'PNG', 0, position, imgWidth, imgHeight); doc.setLineWidth(5); doc.setDrawColor(255, 255, 255); doc.rect(0, 0, 210, 295); heightLeft -= pageHeight; while (heightLeft >= 0) { position = heightLeft - imgHeight; doc.addPage(); doc.addImage(imgData, 'PNG', 0, position, imgWidth, imgHeight); doc.setLineWidth(5); doc.setDrawColor(255, 255, 255); doc.rect(0, 0, 210, 295); heightLeft -= pageHeight; } doc.save('file.pdf'); });};