Jump to content

ganapathysundarum

Members
  • Posts

    11
  • Joined

  • Last visited

ganapathysundarum's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Hi All, I have done a jasper report as Landscape and printout's will be taken onthe Dot Matrix printer. My problem is, i am unable to print the text as Horizontal direction in the print out when printing. Jasper Report print texts as Vertical direction in the paper. I have used the parameter called "print order" to print the same in horizontal. No use when using this parameter. But, the same text is printing as Horizontal when choose the property "page orientaion" as portrait. I cannot use portrait for my printing. it should be landscape. Because, my printing page size is 27.6(height)x38(width) in CM's. Half of the text only priting when i use portrait. Hereby, I have attached the pdf file for your reference. My question is here below, How can i change the text direction as Horizontal when printing as Landscape? Please anybody can help me on this as i have spend more times to resolve this. Thanks in advance. Regards, Ganapathi.
  2. Hi Shekar, Thanks for the update. I set the print page size property as "A3" and i tried to change the height and width of the jasper file. But, what happened is that page size format is changing from "A3" to "Custom" format automatically. I could not able to change the height and width of the "A3" page size format. Please assist. I am using Eclipse v3.0.2 IDE to design the jasper reports v1.2.0 thru JasperAssistant v1.2.5. Hereby, I have attached the sample image file for you. Regards, Ganapathi.
  3. Hi All, I have done my Jasper design as landscape format and the print will be taken in DotMatrix printer. Prining function working fine when i am printing the same report. But i it is printing As vertical to the A4 printer sheet instead of Horizontal. I have tried the property "print order" as Vertical and Horizontal. But Still jasper printing in vertical only. Kindly advise is there any other alternate solution for this. Its little bit urgent for me. Thanks in advance. Regards, Ganapathi.
  4. TRY to use the below coding, JasperViewerI jp = null; jp = new JasperViewerI(); jp.setTitle(<<your title>>); jp.setFrameIcon(new javax.swing.ImageIcon(<<your image>>));
  5. Hi, Use the below variable for page count in your printout. $V{PAGE_NUMBER} You should use this variable in two text fields as below mentioned Page $V{PAGE_NUMBER} of $V{PAGE_NUMBER} Set EvaluationTime property as "NOW" for the first text box field. Set EvaluationTime propert as "Group" for the second text box field along with the groupname in the EvaulationGroup property. You can achieve if you could try above. Merci, Ganapathisundaram.
  6. Hi Why do not use the GridBagLayout concept here ie rows and columns. Just Try to have 2x2 rows and coluns. And 4 salaray slip subreport in the main report. And show the sub report based on your requirements by use modulo operator(%). Regards, Ganapathi.
  7. Hi, You can resolve this by using variables. Declare a variable with your evaluation and use that vairable in the PrintWhenExpression properties.Just Try this. Regards, Ganapathi
  8. Hi Arunc, Just try the below, For the point 1, You can show the text box only in the First page thru $V{PAGE_NUMBER} option.. Declare one variable as $V{currentpage} and set the expression as $V{PAGE_NUMBER} and print the text box $V{PAGE_NUMBER} == $V{currentpage} For the point 2, You can increase the box according to the size of the text by using of "Stretch with overflow" prpoperty as TRUE. But you cannot change the coordinate of the box dynamically. Regards, Ganapathi.
  9. Hi All, I have designed a report with Header, Footer and body. I have desinged a Sub-Report in the body section to print the remarks from the interface. Report is working fine and User can view the full remarks. But when export the same Report to PDF, The last line of the Remarks section is not appearing in the PDF file. For Eg,User Remarks is as given below, 1. Container has to be cleaned up at customer warehouses and return to depot on prior time. 2. Detention Charge will be collected for the delay and amount will be detected from the customer advance payment. 3. Invoice will be generated on belalf of consignee at import side and notification will send thru fax/mail 4. Cheque has to be drawn in favour of XXXXXX. Pvt ltd. In the above remarks, the line no 4 is appearing in the jasper viewer, but the same line is not appearing in the PDF file after export it to PDF. Even, i tried to reduce the font size, and tried to incease the subreport height. But all gone in vain. Kindly cosider this as un urgent one and assist me to resolve the issue. Thanks in advance. Regards, Ganapathi.
  10. Hi All, I am loading an image from DB in the Jasper Reports. But Jasper loading from my client jar which is stored in the local path. When i try to generate the report, Report showing perfectly except images from the DB. I did my image expression as java.io.InputStream to read an image from DB. though, it is not wokring. Kindly help me to resolve this. Regards, Ganapathi. Code: JasperPrint prt = JasperFillManager.fillReport(BlJasper.class.getResourceAsStream("draft.jasper") ,map,con); printJob(prt , 1, "D" , billlading);
  11. Hi All, I have designed jasper static text fields and someof dynami Text fields in the Greeks Languages. I have a problem when i save the jasper as PDF after report generation. why it is happening?.Hereby, i have attached both sample files . Kindly advise. Regards, Ganapathi.
×
×
  • Create New...