Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

rave reports



how to set the  print page orientation
0
BdLm
Asked:
BdLm
  • 2
  • 2
1 Solution
 
jimyXCommented:
By using the "TRvSystem":
LibRvSystem.SystemPrinter.Orientation := poLandScape; // or poPortrait

Open in new window


I got the name from your other question:
    LibRvSystem: TRvSystem;

Open in new window

0
 
BdLmAuthor Commented:
need the change for the rave preview tool ...   can ypou also help here ?
ee-rave-report.jpg
0
 
jimyXCommented:
There is no separate orientation for preview. Once you set the SystemPrinter.Orientation it will be applied even for preview.
You can check this with the demo (link below) by set the Orientation before Execute then preview:
procedure TForm1.Button1Click(Sender: TObject);
begin
  ReportSystem1.SystemPrinter.Orientation := poLandScape;
  ReportSystem1.Execute;
end;

Open in new window

http://www.nevrona.com/files/rpfish.zip
I provided you the link for this demo in other threads, but I keep copying it for future visitors.
0
 
BdLmAuthor Commented:
only partly - random working in my report .....   still not complely understood problem
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now