Jump to content
We've recently updated our Privacy Statement, available here ×

honeyani

Members
  • Posts

    80
  • Joined

  • Last visited

honeyani's Achievements

Enthusiast

Enthusiast (6/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Hi All, How to set color change for rows using iReport tool. For eg .I want even rows to hold 1 color and odd rows to hold other color. Please guide. Thanks in advance. Ani
  2. Hi, Using iReport 3.0.0 i generated Excel and PDF report till now ,in report properties i have set landscape option,the same is seen in orientation attribute of jrxml. My report gets printed in landcape view when i print these two format. With the same jrxml which i use for pdf,when i try to generate html report and give it for printing it prints in portrait format. Is it possible to set Pageset up property during print to landscape instead of potrait that exists for html report? Please guide me to fix this. In Excel report,print setup property is set to landscape as its set in design and print also happens in landscape as required.But for pdf it prints in landscape but page set up proeprty that can be found during print shows portrait only.( i ahev a doubt ehre too why is property for page set up is nto updated to landscape).With html report now the print setting for page set up property exists as portrait and prints in portrait format ..required is landscape..Why this issue? Please find below table to udnerstand the issue faced...any solution for this in iReport?I want to print my HTML report in landscape format... output | Excel | PDF | HTML Printer property -page set up shown | Landscape | Portrait | Portrait Gets printed in document as | Landscape| Lanscape | Portrait hope i made my doubt clear... Thanks, Anitha
  3. 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..thx Ani
  4. 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..thx Ani
  5. 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..thx Ani
  6. 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..thx Ani
  7. honeyani Wrote: Hi kris, How to use JasperExportManager.. I just replaced exporter.exportReport() with the code you have mentioned "JasperExportManager (exporter.exportReport()); " I get excpetion - Generated servlet error: The method JasperExportManager(void) is undefined for the type myreport_jsp Can you please guide on how to use this method? any packahe to import? am i going on the right track.. please help to fix this.. i want to set landscape option during print...have set it in ireport properties,thru jsp code jasperPrint.setOrientation(..),also tried changing widht and height..still the problem is not resolved... waiting for your reply at the earliest.. thx, Ani To overcome the exception i updated code as below JasperExportManager.exportReportToPdfFile(jasperPrint,"C:/myreport.pdf"); response.setContentType("application/pdf"); But still when i open the generated report and view the print properties..it shows portrait...still...but it should be set to landscape ...does iReport support this?
  8. Hi kris, How to use JasperExportManager.. I just replaced exporter.exportReport() with the code you have mentioned "JasperExportManager (exporter.exportReport()); " I get excpetion - Generated servlet error: The method JasperExportManager(void) is undefined for the type myreport_jsp Can you please guide on how to use this method? any packahe to import? am i going on the right track.. please help to fix this.. i want to set landscape option during print...have set it in ireport properties,thru jsp code jasperPrint.setOrientation(..),also tried changing widht and height..still the problem is not resolved... waiting for your reply at the earliest.. thx, Ani
  9. honeyani Wrote: honeyani Wrote: Hi Teo, I'm using iReport 3.0.0 version. In report properties have set Landscape option,but still in my pdf generated report i find portrait option checked by default in print properties..why? Can you please guide to fix this issue. I tried using jasper.setOrientation code in jsp too. I tried modifyinf the width and height values..still i face this issue. I use a master and sub report both the report properties set as landscape. waiting for your reply, Thx, Ani My master report jrxml header, <jasperReport name="XXX_General" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="1472" pageHeight="1471" columnWidth="1436" columnSpacing="0" leftMargin="8" rightMargin="28" topMargin="28" bottomMargin="28" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> sub report jrxml header <jasperReport name="YYY_General_Detail" columnCount="1" printOrder="Horizontal" orientation="Landscape" pageWidth="1474" pageHeight="1474" columnWidth="1474" columnSpacing="0" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> what mistake i have commited (to fix landscape orientation)? PageWidth and Height values i tried with 842 & 595 on both reports...still i get potriat only...any inputs?
  10. honeyani Wrote: Hi Teo, I'm using iReport 3.0.0 version. In report properties have set Landscape option,but still in my pdf generated report i find portrait option checked by default in print properties..why? Can you please guide to fix this issue. I tried using jasper.setOrientation code in jsp too. I tried modifyinf the width and height values..still i face this issue. I use a master and sub report both the report properties set as landscape. waiting for your reply, Thx, Ani My master report jrxml header, <jasperReport name="XXX_General" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="1472" pageHeight="1471" columnWidth="1436" columnSpacing="0" leftMargin="8" rightMargin="28" topMargin="28" bottomMargin="28" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> sub report jrxml header <jasperReport name="YYY_General_Detail" columnCount="1" printOrder="Horizontal" orientation="Landscape" pageWidth="1474" pageHeight="1474" columnWidth="1474" columnSpacing="0" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> what mistake i have commited (to fix landscape orientation)?
  11. Hi Teo, I'm using iReport 3.0.0 version. In report properties have set Landscape option,but still in my pdf generated report i find portrait option checked by default in print properties..why? Can you please guide to fix this issue. I tried using jasper.setOrientation code in jsp too. I tried modifyinf the width and height values..still i face this issue. I use a master and sub report both the report properties set as landscape. waiting for your reply, Thx, Ani
  12. Hi yelena, can you guide how you fixed this issue.. Is it possible to display the report in Landscape instead of Portrait? Have done this with report properties of iReport as well coded in jsp as jasperPrint.setOrientation(JasperReport.ORIENTATION_LANDSCAPE) But still in print properties it shows portrait option any idea on how to resolve this issue? Considered as an urgent issue..waiting for reply ASAP.. thx in advance, Ani
  13. Hi In iReport report properties Orientation value set in drop down in 'Landscape'. In jrxml jasper 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 landscpae as well in jsp code i've updated as below for japser print properties.. jasperPrint.setOrientation(JasperReport.ORIENTATION_LANDSCAPE); Still on the generated PDF report ,print page set up option shows 'portrait' option highlighted. Anyother 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
  14. Hi In iReport report properties Orientation value set in drop down as 'Landscape'. In jrxml jasper 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:32 Post Edited by Anitha R at 11/19/08 05:33
  15. Hi , I use iReport version 3.0.0 ,Detect cell type works fine in this version.Can you update the tool version and check this out. Thanks, Ani
×
×
  • Create New...