title: Calculate number of pages which will print using Javascript window.print
body: <p>My Client requirement is to show to make a customized page print using window.print method of js.
  major Issues are</p>
  
  <p>How I can check how many pages are creating of letter size page when content is populated dynamically?</p>
  
  <p>If content is choping at the end of page it may automatically transfer content to next page. Now is it possible to check whether content will chop or not at the end of page when data in populated dynamically depending upon number of entries filled?</p>