title: How to print report
body: <p>I want to print a <em>JR</em> report.</p>
  
  <p>I am trying this code</p>
  
  <pre class="lang-java prettyprint-override"><code>JasperPrint jp = new JasperFillManager().fillReport("billReport", billId, 
      "jdbc:mysql://localhost/kpc_hospital");  
  JasperPrintManager.printReport(jp, true)
  </code></pre>
  
  <p>but this code is not working.</p>