title: To print the whole html page
body: <p>I have a button and use <code>window.print()</code> to print the page ,</p>
  
  <p>but it is printing only a singe page of what is visible in the viewport. 
  However the page is long enough to fill 5 pages.</p>
  
  <p>How can I get it to print the whole page?  </p>