I have create report designs in Rave (Delphi 7). However they are in portrait mode. When user selects landscape printing from Print Setup, it is printer in portrait again anyway. How can I fix it, so that Rave generates reports in a format which user selects during print setup?
This doesn't work
Tofig Hasanov
2009-11-20 19:39:20
It works fine with me!
Kachwahed
2009-11-23 12:05:57
It is strange, even when I try to change orientation it remains portrait, no matter what I change in the SystemPrinter.
Tofig Hasanov
2009-11-27 07:22:37
+1
A:
Have a look at the documentation "Rave Reports" [PDF]
First, by default, the printer settings are used.
Second, you can try to set the SystemPrinter.Orientation property to poLandScape
Also have a look at Anchors:
Anchors can be used to create adaptable Reports when combined with other Reporting features. Imagine that a Report needs to be defined that can be printed in either landscape or portrait orientation or that the Report may be run on different size papers. Setting the Anchors properly will allow one Report to adjust to these changing conditions.
Adrian
2009-11-23 17:14:43
Have you done this? I have tried using anchors, but it didn't work correctly. Maybe because BE Rave is a little buggy, but I still couldn't find appropriate solution.
Tofig Hasanov
2009-11-25 07:53:48
A:
If you are using "Page Component" in your report, it has a property named "Orientation". Set it to landscape.
Armin
2010-07-12 16:47:22