Hi friends, I am generating text file using jasper reports 1.3.3 version.I am able to generate text file but I am getting spaces(new empty lines) in between in the detail band that too randomly( at random locations).Here is the code I used to generate the text file:
JRTextExporter textExporter = new JRTextExporter(); textExporter.setParameter( JRExporterParameter.JASPER_PRINT,print1); textExporter.setParameter( JRExporterParameter.OUTPUT_FILE_NAME,dirPath.trim()+"Generate.txt"); textExporter.setParameter( JRTextExporterParameter.PAGE_WIDTH,new Integer(113)); textExporter.setParameter(JRTextExporterParameter.PAGE_HEIGHT, new Integer(113)); textExporter.exportReport(); I used the same jrxml to generate pdf file.There are no spaces(no new empty lines) in between the detail band. Is there anything property which I have to set in the jrxml or java code to generate the text file to remove the unwanted new lines in the detail band? Please help me.Thanks in advance. -- View this message in context: http://www.nabble.com/Text-File-Generation-tp23020447p23020447.html Sent from the jasperreports-questions mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions