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

satyadoorva

Members
  • Posts

    28
  • Joined

  • Last visited

satyadoorva'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. either change the font name in your jasper file or add the font into japserfonts.jar and then compile your jasper file
  2. This migh thelp http://www.scribd.com/doc/54671106/115/Upgrade-Notes-for-JasperServer-2-1. Thanks
  3. if I may , are you generating both files on the same OS ?
  4. Hi Loksai, You have to package the font in jasperfont.jar and add the jar to the classpath of jasperreports. Thanks
  5. I use the following code to generate PDF successfully Code:<% Connection con=null; Mydao ad = new Mydao(); con = ad.getConnection(); Map parameters = new HashMap(); parameters.put("param1", "PH2011-001"); JasperReport report = JasperCompileManager.compileReport("demo.jrxml"); JasperPrint print = JasperFillManager.fillReport(report, parameters, con); String destFile = "NAME OF PDF FILE"; JasperExportManager.exportReportToPdfFile(print,destFile); out.println("PDF created ");%><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title><strong class="highlight">JSP</strong> Page</title> </head> <body> <h1>Hello World!</h1> </body>
  6. Hi Lucian, I am unable to find itext 1.2.7 on google. Can you please point to the resource from where I can download. Thanks
  7. Sorry for fat fingers, I meant to type 1.2.4. Add and it should work
  8. <background> <band height="822" splitType="Stretch"> <image> <reportElement x="0" y="5" width="575" height="812"/> <imageExpression><![CDATA["/images/watermark.jpg"]]></imageExpression> </image> </band> </background> try and let me know if it helps. Thanks
×
×
  • Create New...