Does this also happen with TGDIPages.PrintPages()?
How do you set the duplex? Manually through the dialog or in code?
Some simple example code which reproduces this?
Something like this (which works for me):
procedure TForm1.Button1Click(Sender: TObject);
var
PDF: mORMotReport.TGDIPages;
begin
PDF := mORMotReport.TGDIPages.Create(Self);
try
PDF.BeginDoc;
PDF.DrawTextAt('Test page 1', 10);
PDF.NewPage;
PDF.DrawTextAt('Test page 2', 20);
PDF.EndDoc;
PDF.ShowPreviewForm; // setting printer to duplex and printing works correctly
finally
PDF.Free;
end;
end;
BTW, when printing though Adobe Reader, the chances are that the entire page is filled with whitespace and send to the printer, and thus overlapping your previous text. So this could still be a driver fault. You could test this by creating a small example with printdialog (to set the duplex option) which directly prints two pages to the printer.
]]>