Jump to content
Changes to the Jaspersoft community edition download ×

shekhar

Members
  • Posts

    18
  • Joined

  • Last visited

shekhar's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. Very strange no solution yet but, i down graded into JDK 1.6 and it is working now....
  2. Dear Team, We have been printing Chinese report for quiet while using JDK 1.6, but suddenly after the JAVA JDK 1.7 upgrade caused the overlape printing. for more reference please report attachment Need your urgent support. Regards Shekhar
  3. Hi I'm also faced the same issue using 4.0.2 after i updated to latest version problem resolved. cheers
  4. Problem has been resolved after upgrading into 4.1.2 version Post Edited by rshekhar2000 at 10/13/2011 05:30
  5. HI Experts, Please refer my screen shots for more understanding The issue here is using Asian language jasper report viewer showing all the Asian language perfectly but when i export it into pdf format file the content alignment is totally chopped into second line (marked in RED) Previous version of jasper report 3.0.0 there is no issue at all but after upgrading into 4.0.2 problem started. Please help me what i need to update... Cheers Shekhar. Post Edited by rshekhar2000 at 09/28/2011 07:08 Post Edited by rshekhar2000 at 09/28/2011 07:10
  6. Hi Ganapathi, For A3 paper this is the size Width 842 Height 1190 pixels by default, if you try to increase or decrease the settings, the system will take it as a custom paper. Cheers, Shekhar
  7. HI, You need to change the page size proprety it is very import what size you fix for A4 also orientation should be landscape, please refer my screen shot for your more understanding. thanks :)
  8. Hi, Yes, please take look at this class MediaSize for more details. You can customize your media size as you want or you can use standard ISO sizes. i hope the following code could help you. :) JasperDesign jasperDesign = JRXmlLoader.load(filename.jrxml); JasperReport jasRep = JasperCompileManager.compileReport(jasperDesign); JasperPrint jasPrnt = JasperFillManager.fillReport(jasRep, null ,con); PrintRequestAttributeSet printRequestAttributeSet = new HashPrintRequestAttributeSet(); MediaSizeName mediaSizeName = MediaSize.ISO.A4.getMediaSizeName(); printRequestAttributeSet.add(mediaSizeName); JRPrintServiceExporter exporter = new JRPrintServiceExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRPrintServiceExporterParameter.PRINT_REQUEST_ATTRIBUTE_SET, printRequestAttributeSet); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PAGE_DIALOG, Boolean.FALSE); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG, Boolean.FALSE); exporter.exportReport(); Post Edited by rshekhar2000 at 04/09/2010 09:02 Post Edited by rshekhar2000 at 04/09/2010 09:03
  9. Hi, We are having mulitithread report generating environment and our main report XXX.jrxml calling subreport called YYYY.jasper. the problem here is that in the (Thread) object JasperFillManager accessing the XXX.jrxml file concurrently one of the thread successfully generated report file and anther thread encountering the java.io.FileNotFoundException for subreport file. i hope it is (file) resource sharing problem, Could any one help me. thanks
  10. I'm not sure about your problem but we can set the MediaSizeName, here is the code will look like this ... instead of JasperPrinterManager use JRPrintServiceExporter i hope this solve your problem. :) Code:JasperDesign jasperDesign = JRXmlLoader.load(f);JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,parameters,con);PrintRequestAttributeSet printRequestAttributeSet = new HashPrintRequestAttributeSet(); MediaSizeName mediaSizeName = MediaSize.ISO.A4.getMediaSizeName(); printRequestAttributeSet.add(mediaSizeName); printRequestAttributeSet.add(new Copies(1));JRPrintServiceExporter exporter = new JRPrintServiceExporter();exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);exporter.setParameter(JRPrintServiceExporterParameter.PRINT_REQUEST_ATTRIBUTE_SET, printRequestAttributeSet);exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PAGE_DIALOG, Boolean.FALSE);exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG, Boolean.FALSE);exporter.exportReport();
  11. Thanks Teodor, The following code works for me... Boolean.valueOf($F{XXXXXXXX}.length()>0)
  12. Thanks for your reply. what would be the expression? please provide me the sample code.
  13. Hi i'm facing some problem for value null Barcode, i should not print any barcode if it is null value. any help will be appreciated thanks. shekhar
  14. I have a problem in splitting the string Assume my below query return’s me 3 rows with the address details Select add, from add_tbl But the ‘add’ column having data like Row 1. #15 South street, Bendfast Area, 500402 Row 2. Chennai Row 3 India In ireport side I need to split those add data and display it in following manner into detail band Address #15 South street, Bendfast Area, 500402 Chennai India pls help me with sample
  15. sorry guys, when i design the report i choosed custom size that's why the report print range was not perfect now i re-adjust all the fields for A4 size.. the printout is working
×
×
  • Create New...