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

Permanent logo in the reports

edited September 2004 in End User
HI,
how to make that some logo would be visible all the time (something like
the header background) when printing from the RB (and on the viewer)

Regards,
Simonas

Comments

  • edited September 2004
    Hi Simonas,

    Try using the PageStyle Band. This band will print behind the report on
    each page. To activate the Page Style, select the page style option from
    the Report main menu option in the Report Designer.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2004
    "Nico Cizik (Digital Metaphors)" wrote ....

    how to use thar PageStyle band? and i want that no end-user could disable
    this logo. lets say if give them demo version, so on the corner of each
    report i should see "Demo version blah blah" :)

    Regards,
    Simonas
  • edited September 2004
    Hi Simonas,

    Check out the TppScreenDevice.AddWaterMark method located inside the
    ppViewr.pas file. This is the routine we use to add the permenant message
    to each page printed in the demo version of ReportBuilder. It essentially
    creates a text draw command and adds it to each page before it prints. You
    could do something similar in the OnStartPage event of the report.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2004
    I am also interested in this ability. Does the AddWaterMark get printed
    last, so that it cannot be overritten by a smart user?

    Jim

  • edited September 2004

    Yes, it will be rendered last.



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



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2004
    "Nico Cizik (Digital Metaphors)" wrote ....

    this method looks like this..:
    procedure TppScreenDevice.AddWaterMark(aPage: TppPage);

    so how do i get correct page? if more precicely all pages :)

    Regards,
    Simonas
  • edited September 2004
    Hi Simonas,

    Try using the Report.Engine.Page property.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2004
    Hi Simonas,

    I found an example that demonstrates how your might do this. Hope this
    helps.

    http://www.digital-metaphors.com/tips/Watermark.zip

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2004
    So what if they put a white shape over where the watermark will be?

    Jim

  • edited October 2004

    If your drawcommand is added last, then it will rendered over the top of
    anything that the user places on the page.


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



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2004
    Cool, that's exactly what I was hoping for.


This discussion has been closed.