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

Difference in preview and printout

edited February 2003 in General
Hi,

we've been using RB for a while now (currently V6.01) and sometimes we have
a problem at run time:
the preview of a report is not the same as the printed report: one of them
sometimes loses one or more lines at the bottom of the page.

What could be the reason for this?

thx in advance,

--

Johan Bouduin
Senior Technical Consultant.
____________________________________________

ICSAT NV
tel. +32(0)3 270 90 17
fax. +32(0)3 270 97 89
visit us: http://www.icsat.com
____________________________________________

Error 13: Illegal brain function. Process terminated.

Comments

  • edited February 2003
    -----------------------------------------------------
    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.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.