[jasperreports-questions] [NEWBIE] Large report and print directly

2006-09-10 Thread yves pielusenet
Hello, I'm new to jasperreport. I have to generate a very big print job (1 000 000 pages). can jasper deals with it ? is there a good way to do this ? I want to print this report without display it on the screen. Is it possible ? thank you :) -- yves piel -

Re: [jasperreports-questions] [NEWBIE] Large report and print directly

2006-09-11 Thread Pushkar
Hi, I believe you should look at JRFileVirtualizer Class. This will allow Jasper to load data into memory in chunks(similar to virtual memory concept of OS), thus avoiding the Java OutOfMemoryError.Yes, you can print a jasper report without displaying it. Following is a sample code snippet which s

Re: [jasperreports-questions] [NEWBIE] Large report and print directly

2006-09-11 Thread Borut Hadžialić
If I don't ask this my curiosity will drive me nuts for the rest of the day.. ;p What kind of report does have 1 million pages? Also, could you please report if you succeed printing it. It would be a nice information about jasperreports capabilities. On 9/11/06, yves pielusenet <[EMAIL PROTECTED

Re: [jasperreports-questions] [NEWBIE] Large report and print directly

2006-09-11 Thread yves pielusenet
thank you :) why do you suggest me to create my own datasource ? I want to use derby data base (from jakarta project), I think it is a good data source :) Le lundi 11 septembre 2006 à 12:50 +0530, Pushkar a écrit : > Hi, > > I believe you should look at JRFileVirtualizer Class. This will allow >

Re: [jasperreports-questions] [NEWBIE] Large report and print directly

2006-09-11 Thread yves pielusenet
So I want to print checks for supermarkets. So I use jasper for printing recipient and value (in euro), and another thread would print the CMC7 (in france we have a CMC7 at the bottom of check). So a supermarcket can order million of those check (in french 'chèque cadeau'). The another problem I ha

Re: [jasperreports-questions] [NEWBIE] Large report and print directly

2006-09-11 Thread Borut Hadžialić
I had a similar problem - I had some reports where user could choose whether he wants to group rows (by 1 or 2 fields fields that are part of a result set row) or not. In case grouping is enabled, headers have to be displayed for each group (with sums and other calculations), and in detail section