cancel
Showing results for 
Search instead for 
Did you mean: 

Paper orientation

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (0)