Solved

rave reports

Posted on 2011-03-15
4
421 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
only partly - random working in my report .....   still not complely understood problem
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

10 Experts available now in Live!

Get 1:1 Help Now