title: Add print button to cognos report
body: <p>I am trying to add a print button to a Cognos report to print the whole report which when run is delievered as HTML pages. I used an HTML item and used the code: </p>
  
  <pre><code>&lt;button type="button"onClick="window.print();return false;"&gt;Print Report&lt;/button&gt;
  </code></pre>
  
  <p>This only prints the first page even after I select to print all pages. How do I make it to print all the pages?</p>