Both sides printing

If I have a document with 3 pages and I print two copies on both sides, the front page of my second copy is in the back of the second page.
Have you idea?
Thank you.

Comments

  • gpigpi
    edited 10:35AM
    Add empty TfrxReportPage (Page2) in report and use in script:
    procedure Page1OnAfterPrint(Sender: TfrxComponent);
    begin
        Page2.Visible := (<Page> mod 2) = 1;  
    end;
    
  • edited 10:35AM
    gpi wrote: »
    Add empty TfrxReportPage (Page2) in report and use in script:
    procedure Page1OnAfterPrint(Sender: TfrxComponent);
    begin
        Page2.Visible := (<Page> mod 2) = 1;  
    end;
    

    Yes but I can't know if the user prints on the both sides...
  • gpigpi
    edited 10:35AM
    Did you try to print a document with 3 pages from MS Word? What result did you get? What version of FR do you use?
  • edited 10:35AM
    gpi wrote: »
    Did you try to print a document with 3 pages from MS Word? What result did you get? What version of FR do you use?

    There's no problem from MS Word. I use FR 4.10.1.
  • edited 10:35AM
    An idea ?
  • edited 10:35AM
    It's very important for my customers to have a solution for this problem.
    Have you a solution ?
  • gpigpi
    edited 10:35AM
    Try
    procedure TForm1.frxReport1PrintReport(Sender: TObject);
    var i, Copies: integer;
        ShowDialog: Boolean;
    begin
         if frxReport1.PrintOptions.Copies > 1 then
           begin
             Copies := frxReport1.PrintOptions.Copies - 1;
             frxReport1.PrintOptions.Copies := 1;
             ShowDialog := frxReport1.PrintOptions.ShowDialog;
             frxReport1.PrintOptions.ShowDialog := False;
             for i := 1 to Copies do
               frxReport1.Print;
             frxReport1.PrintOptions.ShowDialog := ShowDialog;
           end;
    end;
    

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.