Jump to content
Changes to the Jaspersoft community edition download ×

dipesh.bhavsar

Members
  • Posts

    9
  • Joined

  • Last visited

dipesh.bhavsar's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi Daviddgm, I am trying to export report in Postscript format using JRXML but not able to achieve the same. Can you help me how you are able to do this. This will be great help and thanks in advance for helping..
  2. Hi Is it possible for you to change the file format and save it in database.. like BMP and some other files are huge in size and in DB it is stored as bytes. when generating report again it needs to convert from bytes to image. try to save PNG/JPG files which have lesser size and generate report. may be it can help you.
  3. Hi Rendy, You can pass your user selected filter values as input parameter to the jasper report and desing your JRXML which will show that options when it is exported to PDF.
  4. Hi Andogates, I am not clear with your exact requirement. but as far i understand your problem, you want to print some conditional result and once it is printed you want to print some other variable's value. For above solution you can follow these steps : (1) Create one variable and assign initial values (2) Create Text Field element where you will put your condition in text field expression. (3) Create next text field and apply logic/ expression in Text Field Expression section to print some value on base of that expression. (4) Change property of the "Evaluation Time" to "Band" for the second text field. check your report now. I had similar kind of requirement few times ago in one of my application and I had followed same steps and it was working for me. Hope same is working for you also......!!!!
  5. Hi All, I also had requirement to add SPACE at right side after upto some fixed length of text element and I followed below simple approach and it worked for me. there is no need to create any util class and all stuff discussed above. String.format("%-30s", $F{CUSTOMERNAME}) It printed like as "John Parker " adding space after last character upto 30th character. If you want to add space at left side than remove the negative sign on above sample.
  6. Don't use the property PDF Font Name. If you're using iReport. this property is now deprecated. Refer below tutorial on font extension which is better way to manage font related issues. http://mdahlman.wordpress.com/2010/05/28/jaspersoft-v3-7-font-extensions/
  7. Hi All. First issue is resolved for Text. Actually I have used CSVExporter in my code which i found on one web tutorial. After that I changed it to TextExporter and it worked. Still, I am facing issue with PostScript file format. Can any one suggest how to export report in this (*.ps) file format.
  8. Hi All, I am have requirement to export report from JRXML to text and PS file format. I am facing below 2 issues and for that I need some help from this forum. (1) I am not able to export files in PS (PostScript) file format. Is there any support in iReport for this? (2) I am able to export file in Text file (.txt) but the format I am getting is not proper. It should look like : Business Registration No.: C06006834 11/12/2012 ______ XXXXXX XXXXX XXXXX XXXXXXXXX NOVEMBER 2013 ______ 18 ABC PARK 07/11/2013 - 06/12/2013 TEST ROAD 012345687 PORT-LOUIS TABDA - 123456 But it looks like this : ,,,,Business Registration No.: C06006834,,,,,,11/12/2012,,,______ ,,,XXXXXX XXXXX XXXXX XXXXXXXXX,,,,,,,,,,,,,NOVEMBER 2013,,,,______ ,,,18 ABC PARK,,,,,,,,,,,,,,07/11/2013 - 06/12/2013,,, ,,,TEST ROAD ,,,,,,,,,,,,,,,012345687 ,,,PORT-LOUIS,,,,,,,,,,,TABDA - 123456 Can any one guide me how to format exported document in text file. what changes/properties i need to set for my jrxml.
  9. Hi All, I am new to iReport and I know that the question I am looking for is very old and there are many threads available on this forum. but my question is somewhat different. I am using iReport Designer 4.0.2. I am using XML as datasource using XPATH. I have requirement to use one list as parent and another 3 list component as child. the parent list component will pass USERID as param to all 3 child lists and any one or all child list will display records where USERID is matched with parent USERID. till this task I am good and its working fine for me. now, i want to restrict 10 records per page including any of the 3 child lists. like if first child have 15 recors, second have 10 and third have 2 records. than overall 10 records only can be displayed on page. any record after 10th should go to next page. I tried to put PAGE BREAK component, but when i put it in Detail band try to put condition as found on some of the threads here, i am not able to restrict them as my REPORT_COUNT of parent list always shows me as 1. If I put page break on each child list with express than it is giving me nullpointer exception saying that JRBreak is unable to fill report. Can any one help me to achive such task using any conditions. I have one temporary solution but I am not sure how to pass report count of my child list to parent list. if i can achive this, I can put page break and some condition to restrict them on some count. Any help would be appreciated. !!!
×
×
  • Create New...