Hi All,
I am a newbi to Jasper reports.I have used Jasper reports in my web application for reporting purpose.I have a strange problem w.r.t printing jasper reports.I am sending the jasper report directly to a dot matrix printer.It is skipping some lines(say 8 lines) after printing 25 lines and starts printing the last lines.This is NOT happening always.This happens after taking some 20 to 30 printouts.But,if I take the same printout again, it prints all the lines.we are using apache tomcat.
Can anyone please help me out on this issue.
javascript: x()
Frown
Attaching the code below...
File reportFile = new File(getServletContext().getRealPath("reports//bill.jasper"));
JasperReport jasperReport = (JasperReport)JRLoader.loadObject(reportFile.getPath());
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, param, conn );
jasperPrint.setOrientation(jasperReport.ORIENTATION_PORTRAIT);
JasperPrintManager.printReport(jasperPrint,false);
any help would be really appreciated..
Thanks in advance,
Sunil