2xA4 on A3 landscape

edited 11:06AM in FastReport 4.0
Hi,
I have a big problem to print duplex A4 on A3 papersize landscape.
Backside of A3 is printed same as fronside and when I cut A3, then backside of new A4 papers are swapped. And it is bad.

Frontside of A3 is printed O.K. and backside must be printed first at right half of A3 and then left half.

How to resolve it please?

Comments

  • gpigpi
    edited 11:06AM
    Try to resort preview pages after preparing of report.
    Something like:
    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;
    

    This is not exactly your task, but you can change code for your task

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.