New page - recto verso

Hello,

I have some reports that contain a number of groups.
I need to print each group on a new sheet of paper but the customer uses recto verso.
The newpage works fine but starts on the other side of the page when a new group is met.
I need to start with a fysical new page when having a new group.

How can I do this?

Thx,
Bernaert Dominique

Comments

  • LurkingKiwiLurkingKiwi Wellington, New Zealand
    edited 4:29AM
    I think you could do something in the group header like this (untested):

    procedure GroupHeader2OnBeforePrint(Sender: TfrxComponent);
    begin
    engine.newpage;
    if ((<Page> mod 2) = 0) then engine.newpage;
    end;

    You may need to compare to one to get the number of newpage calls right, and possibly to check whether the engine.CurY or some other property indicates that you are at the top of a page already.

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.