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

Printing a watermark with an archivereader

edited February 2005 in General
Hi all,

Is it possible to print a watermark (with page-style) on an existing output
using archive reader or can this be done in another way?
I am using ReportBuilder 7.03 for Delphi 6.

Thanks in advance,

Wim Looman

Comments

  • edited February 2005
    Hi Wim,

    Unfortunately there are no good events on the actual ArchiveReader object to
    add a DrawCommand to every page. However you can tie into the
    TppDevice.OnPageReceive event and use this event to add a watermark to each
    page in your archive. The best place to add this event would be in the
    OnBeforePrint event of the ArchiveReader. This way you can ensure the
    screen device has been created.

    We do something similar in our demo versions of ReportBuilder by adding a
    watermark to every page in the ReceivePage event of the ScreenDevice if you
    have not registered. To see how this is done, see the AddWaterMark routine
    located in the ppViewer.pas file.

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