PrintDialog and duplex mode
I try to print in duplex mode, by my printer as default set Duplex = None
If I set the parameter to True, I get two-page prints. But I want to print in duplex mode directly from my code.
I try frxReport.PrintOptions.Duplex:=dmVertical/ dmHorizontal/ dmSimplex
and the loop:
but always I get one-page prints.
Anyone can help me?
If I set the parameter to True, I get two-page prints. But I want to print in duplex mode directly from my code.
I try frxReport.PrintOptions.Duplex:=dmVertical/ dmHorizontal/ dmSimplex
and the loop:
if (uppercase(frxReport1.Pages[n].ClassName) = 'TFRXREPORTPAGE') then
        begin
              TfrxReportPage(frxReport1.Pages[n]).duplex := dmVertical;
        end;
but always I get one-page prints.
Anyone can help me?
Comments
I showed in the first post so I tried that.