honeyani Posted November 19, 2008 Share Posted November 19, 2008 Hi In iReport report properties Orientation value set in drop down as 'Landscape'.In jrxmljasper report header is like this : <jasperReport name="My_report_Name" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="1472" pageHeight="1471" columnWidth="1436" columnSpacing="0" leftMargin="8" rightMargin="28" topMargin="28" bottomMargin="28" whenNoDataType="NoPages" scriptletClass="AccountHistory_GeneralScriptlet" isTitleNewPage="false" isSummaryNewPage="false">which shows orientation landscape...As well in jsp code i've updated as below for jasper print properties..jasperPrint.setOrientation(JasperReport.ORIENTATION_LANDSCAPE);Still on the generated PDF report ,print page set up option shows 'portrait' option highlighted.Any other way to set landscape option during print ?how to resolve this issue.ITs an urgent issue,can anyone help out to solve this ASAP. waiting for ur reply..Regds,Ani Post Edited by Anitha R at 11/19/08 05:32Post Edited by Anitha R at 11/19/08 05:33 Link to comment Share on other sites More sharing options...
honeyani Posted November 19, 2008 Author Share Posted November 19, 2008 Hi friends...The option works..the printed document is in landscape format..but in print properties it shows portrait...If we get the o/p in landscape thts fine for us as of now..thxAni Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now