Back side always the same
Hello,
does anyone have an idea, if it is possible, to print on every back side of an report the same text (e.g. our delivery conditions).
Best regards
Andreas
does anyone have an idea, if it is possible, to print on every back side of an report the same text (e.g. our delivery conditions).
Best regards
Andreas
Comments
Add second TfrxReportPage with fixed page and set TfrxReportPage.PageCount
You can resort preview pages after report's preparing:
var i, j: integer;
page : TfrxReportPage;
begin
frxReport1.PrepareReport();
j := frxReport1.PreviewPages.Count div 2;
page := TfrxReportPage.Create(nil);
for i := 0 to j - 2 do
begin
page.AssignAll(frxReport1.PreviewPages.Page[j + i]);
frxReport1.PreviewPages.AddEmptyPage(i * 2 + 1);
frxReport1.PreviewPages.ModifyPage(i * 2 + 1, page);
frxReport1.PreviewPages.DeletePage(j + i + 1);
end;
page.Free;
frxReport1.ShowPreparedReport;
end;