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

Unique Caption with Collation = False

edited January 2004 in End User
Hello,

Can I print a unique caption for each copy of a multi-copy report sent to
the printer with Report.PrinterSetup.Collation = False?

I have seen in Tech Tip the way to do it with Collation = True but I need
to do it with Collation = False.

Thanks,

Jose Maria Sanmartin

Comments

  • edited January 2004

    Here is an example that I created that uses the Label.OnDrawCommandCreate
    event and the PrinterDevice.OnStartPage event to modify the Label's
    DrawCommand.Text property.

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

    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2004
    Thanks Nard.

    Is there a way to implement it in RAP?

    Regards,

    Jose Maria Sanmartin

  • edited January 2004
    Nard,

    This report only works when there is only 1 page in the report. (PageNo
    = 1).

    I have change this sentence with the following

    If FCopy = 4 then FCopy = 1 and now it works OK.

    But I need to implement all of this from RAP.

    Is this possible?

    Thanks,

    Jose Maria Sanmartin


  • edited January 2004

    Yes, the example was created to show the caption only on the first page.

    RAP does not know about the Report.PrinterDevice. RAP does not allow the
    programmatic assignment of event-handlers. I researched whether RAP
    pass-through function(s) could be used to solve this, but could not find a
    solution.

    In the future, please use the RAP newsgroup for RAP code related
    questions.:)


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.