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

Duplex Printing

edited January 2007 in General
Hello,
We want to print two copies of a report to a duplex printer. When we print
the second copy, the first page is printed on the back of the last page of
the 1 copy of the report. How can we make the 2nd copy start on a fresh
sheet of paper.

tia

Kevin

Comments

  • edited January 2007
    Hi Kevin,

    You can work around this issue by placing an empty section style subreport
    inside the summary band of your report. Then inside the
    DetailBand.AfterPrint event, you can assign the visibility of the subreport
    depending on whether you have an even page report or an odd page report.

    procedure TForm1.ppDetailBand1AfterPrint(Sender: TObject);
    begin
    ppSubreport1.Visible :=((ppReport1.AbsolutePageNo mod 2) = 1);
    end;

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2007

    ReportBuilder 10.05, the latest release, automatically prevents this from
    happening by automatically generating a blank page for the case in which a
    report generates an odd number of pages while duplexing.


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

    Best regards,

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