Hi Nikolas,
I have the same problem at desktop app & document server.
Os: Ubuntu 20.04
Printer: Canon mf734 (network printing)
I have the problem with the following example. At the editor, Section 1 page number is one, and Section 2 page number is 3, which is the expected behavior.
However, when printing, Section 1 is at the front page, and Section 2 in the back .
var oDocument = Api.GetDocument();
var oParagraph = oDocument.GetElement(0);
var oSection = oDocument.CreateSection(oParagraph);
oParagraph.AddText("This is section #1 of the document. Page number : ");
oParagraph.AddPageNumber();
oSection = oDocument.GetFinalSection();
oSection.SetType("oddPage");
oParagraph = Api.CreateParagraph();
oParagraph.AddText("This is section #2 and we set 'OddPage' type to it. Page number : ");
oParagraph.AddPageNumber();
oDocument.Push(oParagraph);
oParagraph = Api.CreateParagraph();
oParagraph.AddText("When printing printing duplex, this page must be in a new page and not in the back of the first page.");
oDocument.Push(oParagraph);
Hope it helps,
best,