Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! Quick Rpt previews in Landscape but printing in Portrait

Status
Not open for further replies.

skss

Programmer
Oct 7, 2003
22
0
0
HK
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top