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

Problem with large page sizes/components

edited September 2007 in End User
Using Delphi 7, RB Pro 10.05, Win XP

I'm setting very large page sizes, up to a maximum of 2A0 (1198mm x
1682mmm).
We'd like our users to be able to generate these large reports, so that they
may
then save them as PDF files and have these printed professionally.
As you've probably guessed, this is not a traditional reporting application,
more
an imaging app - it uses only non-db components. We are trying to use RB
more for
its customisation abilities in this case (although we use it in the standard
way
in our other products).

The trouble is that resizing report components to these sizes (eg 1m square)
results
in a "not enough storage is available to process this command", seemingly
generated
somewhere in the GDI. The only exception I've found to this is the TppLine.
Even an
unfilled rectangle (TppShape) has this problem. I need to have something
boxlike
to indicate the position and size of an image.

None of this is a problem unless we need to manipulate things in the
designer, eg.
if controls are placed & sized, then we bypass the designer & go straight to
preview,
it all works fine.

Can you suggest anything?

(I know it's on the to-do list, but a zoom in the designer would be *really*
good)

TIA
Steve Spralja

Comments

  • edited September 2007
    Try adding RBuilder\Source and Delphi\Lib\Debug to the Delphi library path
    and configure the Delphi debugger to break on language exceptions. Build and
    run the project, when the exception occurs the debugger will open, examine
    the call stack. Perhaps that will provide some clues as to what is
    happening.

    If the report designer cannot handle objects that large, perhaps you could
    design it like a scaled down model (say 1/10 size) and then scale it up
    later, either during report generation or have the print shop do it.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.