title: Print window does not print whole page in chrome latest version
body: <p>I'm developing a printing tool using HTML5 canvas. By open a new window and write the page canvas as image in new window document then finally print the window document.As a test, I've tried to print the pages(greater than 100 pages) in chrome latest version (Version 46.0.2490.71) it does not print the whole page. In chrome print preview window display only partial page like if we print the 110 pages document means it display only 24 or 38 pages(it display the page randomly). But the whole pages are added in the newly created window for printing.
  I used the below code for printing the pages.</p>
  
  <pre><code>var _printWindow = window.open('');
  _printWindow.document.write('&lt;html&gt;&lt;BODY&gt;');
  _printWindow.document.write('&lt;center&gt;');
  for (var i = 1; i &lt;= _totalPages; i++) {
     var canvas = this._printpages(i);
    _printWindow.document.write('&lt;img src="' + canvas.toDataURL() + '"style="border:1px solid;height:"' + _pageHeight + '"px;margin:0px"&gt;&lt;br /&gt;');
  }
  _printWindow.document.write('&lt;/center&gt;&lt;/body&gt;&lt;/html&gt;');
  _printWindow.document.close();
  _printWindow.print();
  </code></pre>