Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Paper orientation

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?

replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question