on 09-19-2008 12:14 PM
In a report made with CR XI I put paper in horizontal orientation.
From VB6 mando:
Report.PaperOrientation = crDefaultPaperOrientation
Report.PaperSource = crPRBinAuto
Report.PaperSize = crDefaultPaperSize
But I always print in Veritcal.
How can I take guidance from the report?
What's wrong?
Hi
As I understand you want to change the page orientation with the help of code.
Try this
1)Printer.Orientation=2
Form1.PrintForm
Note:1 is for Portrait and 2 is for Landscape.
2)You can also change the page orientation from design window in Crystal Reports.Mentioned below are the steps:
a)Click on file menu.
b)Select page setup.
c)Select desired page orientation from Orientation pane.
d)Click on OK.
If it doesnt work let us know.
Regards
Asha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.