Printing from Cache
Can anyone point me in the direction of a way to print to printer or
file from the cache withot having to regenerate the report?
I have Multiple individual reports that need to get printed in a
specific order then bundled together as one for both preview and print
(to printer or file). These are all individual reports that can be run
on their own also, so having seperate reports and automating the
printing has been our solution.
I was able to print the reports to the cache then transfer the pages to
a new report component's cache, but when this new report goes to print
to a printer or file, it clears the cache and attempts to regenerate the
report (which it can't cause there is nothing defined for the holder
report component).
I've seen in the RB code (10.07) that the cache is being cleared because
the printer setup has changed, and I understand why this should happen,
but is ther a way around this?
Tony
--- posted by geoForum on http://delphi.newswhat.com
file from the cache withot having to regenerate the report?
I have Multiple individual reports that need to get printed in a
specific order then bundled together as one for both preview and print
(to printer or file). These are all individual reports that can be run
on their own also, so having seperate reports and automating the
printing has been our solution.
I was able to print the reports to the cache then transfer the pages to
a new report component's cache, but when this new report goes to print
to a printer or file, it clears the cache and attempts to regenerate the
report (which it can't cause there is nothing defined for the holder
report component).
I've seen in the RB code (10.07) that the cache is being cleared because
the printer setup has changed, and I understand why this should happen,
but is ther a way around this?
Tony
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
You might consider exporting your report(s) to archives, then printing the
archive files in a single bundle as an alternative.
It is also possible to export reports to a memory stream if you do not want
to save anything to disk. Take a look at demo 109 located in the
\RBuilder\Demos\1. Reports\... directory for an example of exporting to
memory.
You can merge multiple archives into a single archive using the Archive
Merge utility available free from our website. This may also be of some use
to you.
http://www.digital-metaphors.com/download/report_component_library.html
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
the
want
some use
to
the
because
happen,
--- posted by geoForum on http://delphi.newswhat.com