aubrey.offer Posted March 11, 2013 Share Posted March 11, 2013 HiWhen I run a report where preview is set to text or text(ireports) it generates the report correctly, but the file exported is blank.iReports generates all other formats, but the text preview and the text(iReports) preview with return an error...If I try and insert values for the width and height (options, export options) I get output, but it is very largely spaced report.the default option for the export options is 0, but this returns the following error. Help please!! Exporting Text (JasperReports) to file... C:SubversionWMS_ReportstrunkreportsUnapproved_Orders_Report.txt! Error exporting print... Character width in pixels or page width in characters must be specified and must be greater than zero. net.sf.jasperreports.engine.JRException: Character width in pixels or page width in characters must be specified and must be greater than zero. at net.sf.jasperreports.engine.export.JRTextExporter.setReportParameters(JRTextExporter.java:271) at net.sf.jasperreports.engine.export.JRTextExporter.exportReportToWriter(JRTextExporter.java:333) at net.sf.jasperreports.engine.export.JRTextExporter.exportReport(JRTextExporter.java:221) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:1174) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Export running time: 15Any assistance will be greatly appriciated.regardsAubrey 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