Solved

rave reports

Posted on 2011-03-15
4
424 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

820 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