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

Layout problems

edited April 2005 in General
I am having a re-occurring pproblem with report layouts.

I have several sub-reports which contain a single row of ppLabels. I
have gridded the labels off so they look like a table.

When previewing or printing the report there is an inconsistency between
each row, some of the grid lines move out of place.

I have tried different methods of gridding the sub-report records:
ppShapes, ppLines, PPWGridLines, GridPack - TableGrid. All these
methods have no effect.

I have tried the following versions of RB> 7.05, 9.01, 9.02.

Delphi v6.
Win XP Pro.

I'd be grateful for any help here.

Rich

Comments

  • edited April 2005
    Hi Rich,

    When creating a grid a precise as you want it, be sure you use the
    measurement properties to position each component on your report. This will
    ensure the highest quality in detail when printing to the printer. See the
    following article on why the printed output may not match the output on
    screen.

    -----------------------------------------------------
    Article: Why Preview may not Match Printed Output
    -----------------------------------------------------

    ReportBuilder uses the Printer device context to perform all calculations
    required to generate the report pages. This includes measuring text,
    wrapping text, and calculating the vertical page space required by a
    stretchable component such as a memo.

    Using the Printer device context results in a very high degree of accuracy
    when printing to the printer. For report Preview, all page elements must be
    scaled back to the screen. A typical printer has a resolution of 600 pixels
    per inch (or more). A typical screen has 96 pixels per inch. Thus there is
    some loss of fidelity in rendering to the screen.

    For multi-line text such as memos, ReportBuilder sometimes shrinks the font
    size for the preview so that the rendered text can fit within the required
    vertical page space. Even when True Type fonts this is sometimes necessary.


    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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