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

Li Gang

Members
  • Posts

    23
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by Li Gang

  1. My table (view) has two groups, the first group consists of only two records while the other group consists of 158 records that run across multiple pages. I placed the Report_Count built-in variable in the group header and specified group name as the evaluation time. The first group header displayed 2 and all the other pages displayed 160 instead of 158 at the group header. Could this be a bug? I had to make a home-made group count variable to work around this issue. Could anyone share guidance in this regard?
  2. Many thanks. I later knew the resource I read was wrong. Some other links say importing background image has nothing to do with the background image, which may be a bug.
  3. It does not work. Although the paper size has been resized, the components remain in their original positions.
  4. My Jasper report is based on A3 paper but the user says they usually just print in A4. He wants me to set the scale to 71% by default. Is this possible? Am I better to redesign this report using a A4 paper?
  5. My Jasper report is based on A3 paper but the user says they usually just print in A4. He wants me to set the scale to 71% by default. Is this possible? Am I better to redesign this report using a A4 paper?
  6. I followed the following procedure to add a background image but without success. 1. Conver a pdf image file to an svg image using an online conversion tool. 2. Add a background band and import the svg image through Import Contents from File of the background properties. 3. Maximize the background band and the background band itself takes up a whole page. There were nothing changes to my generated pdfs. Many thanks in advance.
  7. Sounds really nice. So, in the group header I may enter: Text (to be printed on the new page) Page break Original group header text Right?
  8. Currently, the group header title and group details make up a page. The user now wants to add a blank page (with the group header on it) before each group. Is it possible to implement this feature by configuring Jasper designer? Do I have to manually insert the pages using Java PDF methods? Many thanks in advance.
  9. Is it possible to print non-slashed zeros in Japanese? I use IPA fonts for Japanese output. It is not feasible for me to set different fonts for numbers and Japanese text separately as most of the fields consist of both numbers and non-numbers. Many thanks in advance.
  10. I would like to add an image (full A4 page) as the base template. However the preview is not available. How can I display this full A4 page in design state? The background image does not work either. Small size background image will work but not the full-page A4 image.
  11. It seems that most stackoverflow solutions suggest to locate a static resource file from a jar file using classfolder or inputstream approach. In my case, the third party code needs to access the static resource file using a conventional path (jasperPath in the code below). JasperPrint print = JasperFillManager.fillReport(jasperPath, paramMap, con); Do I have to treat the static resource file as an external file (i.e., a file outside the jar file)? Many thanks in advance.
  12. If I apply "Organize as table" for a group of labels and text fields, can I set the background for each cell of the table instead setting the background for each individual lable and text field? Many thanks in advance. Li
  13. Is it possible to create a table below using Jasper table element? White background text fields are variables while greyed labels are headers for the frist two blocks. All the labels and the corresponding text fields have a one to one relationship. In fact, I am more interested in the layout design. Are there any alternatives to implment this these tables? Am I better to use rectangles and lines to complete the layout design?
  14. When we print a documents from any on-prem PC, we need to swipe our security card over the sensor of the printer to print out the document. Can the above security measures be implemented for a Jasper application? Many thanks in advance. Li
  15. I downloaded and deployed itext-2.1.7.jar and iTextAsian.jar but the error persists. Thanks.
  16. Many thanks for your answer. I think accessing a local printer for printing a jasperreport from the cloud is as difficult as directly accessing a local printer from a web application backend. Azure virtual network may be a solution. However it needs technical support and cost. I would suggest hosting the Java applicaton within our LAN instead, accessing the Azure SQL database via JDBC for its report data.
  17. It is said to identify the output printer, the APP server should reside in the same LAN with the printer. What if I put the Java applicaiton in the cloud? How can the Java application identify the printer? Many thanks in advance.
  18. I have downloaded the HSQL database manager. However, I donot know the JDBC url of the jasper studio built in DB. "jdbc:hsqldb:res:/defaults/hsqldb/test" cannot be recognized. Many thanks in advance.
  19. Suppose that I will use the code below to print a Jaserprreport from the Java side. JasperPrint jasperPrint = JasperFillManager.fillReport(reporte, parametros, datasource); How am I supposed to configure the datasource for the Jasperreport in Jaspersoft studio? Thanks in advance. P.S.: Although we can view the data source inforamation during the design phase, it seems that the data source has not been saved in the report xml file. In other words, I need to provide full database connection information on the Java application side.
  20. Thanks. I am currently viewing this solution. https://community.jaspersoft.com/wiki/working-javabeans-data-adapter-tibco-jaspersoft-studio
  21. We need to use Jasperreport to create daily reports. Per my intuition, it should be feasible if we have a Jasperreport server in place. In such a case, the report can get its data through the data source configuration. I am sure we can have a couple of options to run the report. However, our management team wants me to use Java and Jasperreport to finish the task. Is the management team's decision reasonable? Many thanks for your advice in advance. ps. I found the following code indicating how to add a data source to jasperreport from the Java application side. https://stackoverflow.com/questions/11517748/creating-passing-java-bean-datasource-in-jasperreport It would be highly appreciated if anyone could share more information such as sample code in this regard. Li
×
×
  • Create New...