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

Printout looks different??

edited February 2005 in Devices
When we align text (ex. Memo) with graphics (ex. Lines), the preview in 100%
is ok, but the printout is not aligned correctly.

Delphi 7.0 and ReportBuilder 9.0
I tried the same test with Delphi 2005, same result.

Please help! ;))
Jim
news at info-mania.ca

Comments

  • edited February 2005
    Hi Jim,

    -----------------------------------------------------
    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
  • edited February 2005
    Hi Nico!

    I have a memo with 6 lines. Between each line, there is a ppLine. In the
    Report designer, everything is fine. But the printout isn't ok. The lines
    are over the text, and not between. How to be sure to have the same printout
    as the report designer??

    Thanks again Nico! ;))

    Jim
    news at info-mania.ca

  • edited February 2005
    Hi Jim,

    Unfortunately every printer is different. You will need to use trial and
    error to figure out the exact line positions inside the memo. Inside the
    screen preview of the report, you can zoom to a maximum of 250%. This
    should give you a better idea of what the spacing will look like on paper.

    --
    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.