Ubq Sunil

Greenhorn
+ Follow
since Sep 10, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ubq Sunil

Where can i find the following 3 files

poi-2.5-final-20040302.jar
poi-scratchpad-2.5-final-20040302.jar
poi-contrib-2.5-final-20040302.jar
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
17 years ago