Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

image print

edited April 2003 in General
Hi,

(i'm french so please forgive my french accent ;-))

I have to print reports. The problem is that these reports are quite huge :
almost 500 pages made of gif images.
What is the best solution for printing ?
- doing 500 "tppReport.print" ?
- or doing only 1 "tppReport.print" containing the 500 pages

For both methods, do you know if there is any memory problems ? What is the
best one ?

In the past, we had problems using the second solution (i.e. only 1
"tppReport.print" containing the 300 pages)...but
we don't know if the problem comes from ReportBuilder tppReport component or
from our way to use it.

Concerning the size ReportBuilder sends to the printer, is it a problem to
send 500 pages in only 1 report ?? or 500 reports.
In the first case, is it going to overload the memory printer ?

Thanks in advance,
Laurent

Comments

  • edited April 2003
    Hi Laurent,

    To save resources, try loading the images at runtime during report
    generation as you need them instead of all at once. This can be done using
    a JITPipeline in the OnGetFieldAsPicture Event using a list of the filenames
    of the images to configure the pipeline record count. You will have to use
    the traversal events in order to keep the current filename pointer on the
    list. Be sure that the Report.CachePages property is set to false. Check
    out the JITPipeline demos located in the \RBuilder\Demos\1. Reports\ ...
    directory. Below is a link to an example that may help.

    http://www.digital-metaphors.com/tips/LoadEMFViaJIT.zip

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.