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

rbojja

Members
  • Posts

    145
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by rbojja

  1. Thank you Lucian, can you give a sample demo file for reference.i didnt find any in jasper reports demo files. I created a textfield.For this i didnt find any text field expression class of type "java.awt.Image". I am using iReport tool of 2.0.5 version. can you correct me if i am going wrong.
  2. HI, I need to show a image on the reports.The image can be a jpg or a gif one. The image is saved into the database as a BLOB. please help me. thanks
  3. whats the difference between font name and pdf font name on ireport tool. Does it make any difference for the reports on linux vs windows.Do i need to handle differently for pdf font name for linux and windows machines. waiting for some one to help me to fix the font issues on linux.Every thing is fine but the font is by default bold for the reports on linux.
  4. JasperPrint jasperPrint = JasperFillManager.fillReport(masterreport, parameters, conn); // JasperExportManager.exportReportToPdfFile(jasperPrint, "C:\asa.pdf"); PrintServiceAttributeSet printServiceAttributeSet = new HashPrintServiceAttributeSet(); printServiceAttributeSet.add(new PrinterName("Dell5100", null)); JRPrintServiceExporter exporter = new JRPrintServiceExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); // exporter.setParameter(JRPrintServiceExporterParameter.PRINT_REQUEST_ATTRIBUTE_SET, printRequestAttributeSet); exporter.setParameter(JRPrintServiceExporterParameter.PRINT_SERVICE_ATTRIBUTE_SET, printServiceAttributeSet); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PAGE_DIALOG, Boolean.FALSE); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG, Boolean.FALSE); exporter.exportReport(); solved the problem.
  5. Hi I am facing font issues on linux. The same font used on windows is fine.But on linux every thing is printed in BOLD. what might be the issue. How to adjust the setings on Linux machine. Thanks
  6. Hi, Till date i was able to print reports on windows succesfully. Now the music is started.I am unable to print the same reports on linux machine For linux machine default printer is configured and i have permissions to print.But when i am trying to print the jasper report through my web application it gives an JRException and says printer not available. what might be the issue.My code or any settings in the environment. i use jboss-4.0.0RC2 as my server.
  7. hey did you get the solution.i am also facing the same issue. please help me if you have any solution
  8. net.sf.jasperreports.engine.JRException: No printer available when i deployed my web application on linux and on print of the report gives me this error. i am using jboss-4.0.0RC2 what is causing the issue.
  9. Hi, Here is my requirement. I have a sub report which has data filled in through the database.The data will be like CASH $100.00 CHECK $100.00 VISA $100.00 MASTER CARD $100.00 Now based on the value like cash,check,visa and master card i want to print the policy of each. Say if i get cash as parameter then i need to print cash rules on the report.And if check then print check policy rules,visa then visa policy rules and the same for master card. I think you got my point of printing based on each tender type/payment type.if the payment is done by both cash and visa then print both policies/rules on the report. Thanx
  10. can you give the expression using the fieldvalue expression
  11. Hi, I need to print the report based on the conditons.If the parameter i get is 'abc' then print some text accordingly. If the expected parameter is not found print some thing different . say like this, If param1 print 'Some text ,which is fetched from db' If param2 print 'Some text ,which is fetched from db' Thanks
  12. the query seems to not working. I need to display in transapose style
  13. Hi, I am using Jasper Reports printing the report on the fly as soon as the report gets generated.But the print time taking for printing is 30 secs and more. Can some one help me out to print this in less time than the above. In my report i have a master and 3 subreports. -Raghavender.
  14. Hi, i have a master report and two subrpeorts. Master report has query1 and similary for subreport1 a query and subreport2 a seperate query. Now issue is if any of the subreport doesnt have any data in the database records,the whole report is printed as balnk pdf. Now i want to print the master report data atleast ,if the subreport doesnt have any data.
  15. Hi, I need to display a param value on the report.This param value i get from my properties file in web application. Currenlty report prints by executing the sql query and show the result in pdf. Now i want to pass the param value into this report. How to pass the value here?
  16. Hi , Please see the attached jrml file which has a query to fetch the desired results. the results are fetched as column1 column2.....columnn 1 2 ...... n now i need to show the results as column1-values column2-values can any one help me to acheive this.
  17. Hi, I have a requirement to show the IP address of the machine where the report is generated. please help me on this . thanks
  18. Hi, i need to display records in matrix/transpose style on the report. For example say i fetch three records for a query. select * from table. Now i need to show the values on the report as value1,value2,value3. How do i show the values in the above style. Thanks
  19. Hi, Iam working on print receipts.I am able to fetch the values and print them. Rule is that for every receipt there are some set of standard rules defined by the firm to be printed with each receipt.(standard rules are not dynamically fetched from the database.its static text according to jasper). Now i need to append these rules to the receipt. say i have receipt values on the page say SKU QTY DESC TAGPRICE SALEPRICE EXTPRICE 1 2 3 4 5 .....n values no limit here Now after these values i need to append my rules. How can this be acheived for appending my rules for every receipt Thanks
  20. Hi, I am having a master report ,subreports (Report1,Report2,Report3) . In Report1 i have a field called $F{previous payments} and in Report2 i have a field called $F{CurrentPayments}. Now i am showing these values perfectly.But now in my Report3 i need to show the difference of $F{previous payments} and $F{CurrentPayments}. How do i get the desired result in my Report3 or if i need to get the value of $F{previous payments} in my Report2 and show the difference here instead of (third)Report3 Any of the solution is accepted .
  21. ya fine But how to regester my VO in iReport JavaBean DataSource?
  22. Hi all I am having my bean values (setter/getter) values in my DAO. Now i need to pass these values into my report and display them on pdf. can any one send me a samle code for passing bean values -jasper .
  23. Hi all for subReport expression pass parameter as eg : $P{Report1} of java.lang.string and see that this parameter is declared in master report parameter values. and in the java application mention as parameters.put( "Report1" , reportFilepath+ "/ACFSub.jasper"); where reportFilepath is location of .jasper :)
  24. Hi all Atlast i could find the answer(not in the forum). The default digester file is located in older versions of jboss(pre 4.0.2 version) under 'serverdefaultdeployjbossweb-tomcat50.sar' location.So delete the old digester file and copy the new digetser file which comes up with jasper jars or from iRpeort lib folder.
×
×
  • Create New...