PrintDialog and duplex mode

edited February 2014 in FastReport 4.0
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:
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

  • gordkgordk St.Catherines On. Canada.
    edited 8:08AM
    after you call loadfromfile get the design page and set its duplex property
  • edited 8:08AM
    Please show me a little example how to do that.
    I showed in the first post so I tried that.

Leave a Comment