Home General

Watermark only on Copies

edited August 2015 in General
This is a multi-part message in MIME format.

Comments

  • edited August 2015
    To clarify the problem:
    There is Report r1 with three pages r1p1,r1p2,r1p3.
    Now I wan this reprot to be printed with 1 copy

    this results in the pages r1p1,r1p2,r1p3,r1p1c1,r1p2c1,r1p3c3

    any page r1p? shall not contain a watermarl
    any page r1p?c1 shall contain a watermark

    Any ideas?

    Carsten Eider hat uns dieses gebracht :
  • edited August 2015
    Hi Carsten,

    Take another look at the example you mentioned, this is how you will
    want to accomplish what you need.

    Rather than using the PageStyle.BeforePrint to set the visibility of a
    report component, you will either add the watermark drawcommand(s) or not.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2015
    After having understood your mechanism it works THX

    Nico Cizik (Digital Metaphors) machte das folgende Beispiel :
  • edited August 2015
    Did you try this solution with Report.printToDevices?
    From my point of view it does not work!
  • edited August 2015
    Hi Carsten

    The code in the example is not designed to work with a PrintToDevices call.

    The Band.BeforePrint event code checks for (ppReport1.PrinterDevice =
    nil). Since you are creating your own printer device, this will always
    return true. Remove this condition.


    Best Regards,

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