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

Changing layout on last copy

edited June 2013 in RAP
Hi,

I have to change the layout of a template with setting visible to false or
true in dependence on printer copie count. The first copies should be
declared as invoice and the last copy should be a packing list.

At first, I created two templates but there is only one paper tray and the
paper is sorted - four sheets in white (invoice) and one in yellow (packing
list).

I can get the count of copies with printersetup object, but I don't find a
way to switch the layout on ReportBeforePrint or OnStartPage.

Do you have an idea?

Best regards
Ingo

Comments

  • edited June 2013
    Hi Ingo,

    Your specifications would be much easier to meet by doing this in two
    print jobs (2 reports). 1 report would print 4 copies of the invoice,
    then the second would print the packing list.

    One report object could even be used and you could dynamically load the
    proper template based on which part of the print process you were in.

    It is possible to make minor changes to reports mid-copy/printjob
    however I do not believe it is possible to change the complete layout of
    a report via loading a template.

    Best Regards,

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