I have a report that needs to print both portrait and landscape.

I did this with the following code and it works fine with the display.
But when I print it prints all pages portrait.

Default page orientation on design = Portrait

I change the orientation in my fetch before I generate the
element.newpage()

element.printJobSettings().paperOrientation
(printerOrientation::Landscape);
element.newPage(false);

Maybe I have it all wrong. Still new to Axapta programming. What is
the best way to achieve this?

Some help would really be appreciated.


Reply via email to