Solved

rave reports

Posted on 2011-03-15
4
423 Views
Last Modified: 2012-05-11


how to set the  print page orientation
0
Comment
Question by:BdLm
  • 2
  • 2
4 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 35138777
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
 
LVL 8

Author Comment

by:BdLm
ID: 35141213
need the change for the rave preview tool ...   can ypou also help here ?
ee-rave-report.jpg
0
 
LVL 24

Accepted Solution

by:
jimyX earned 125 total points
ID: 35142330
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
 
LVL 8

Author Closing Comment

by:BdLm
ID: 35176660
only partly - random working in my report .....   still not complely understood problem
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now