title: How to rotate Jasper Report?
body: <p>Can anyone please help me? I want to rotate the page of my jasper report or enable the rotate button on the jasper viewer.
  I tried to use the following code but it didn't work. </p>
  
  <pre><code>jasperPrint.setOrientation(OrientationEnum.LANDSCAPE);  
  </code></pre>
  
  <p>I am using jasper reports 4.5.1..</p>
  
  <p>Thanks</p>