I have a form with a button that can be clicked to show the preview of my quick report residing in another form:
procedure TReport1Query.Button1Click(Sender: TObject);
begin
rpt1.Report1.QuickRep1.Page.PaperSize:=A3;
rpt1.Report1.QuickRep1.Preview;
end;
However, when the user clicks on the Print button from the preview page, the report will be printed in Portrait instead of Landscape even though I've set the Report1's Orientation property to 'poLandscape' and the papersize to 'A3'. Have I missed out anything? Do I need any extra component so that the quick report will print properly in Landscape?
procedure TReport1Query.Button1Click(Sender: TObject);
begin
rpt1.Report1.QuickRep1.Page.PaperSize:=A3;
rpt1.Report1.QuickRep1.Preview;
end;
However, when the user clicks on the Print button from the preview page, the report will be printed in Portrait instead of Landscape even though I've set the Report1's Orientation property to 'poLandscape' and the papersize to 'A3'. Have I missed out anything? Do I need any extra component so that the quick report will print properly in Landscape?