Active Reports 20 - Print Orientation

Posted by: peter.herschel on 6 March 2026, 12:08 pm EST

  • Posted 6 March 2026, 12:08 pm EST

    I created a simple page report called PeteReport.rdlx I then created a simple NET9 C# test app to print the report. The test app simply loads the report into a viewer. Then I press print in the report viewer, the print dialog comes up and I can print just fine - report orientation is portrait.

    I then went into the report designer and changed the report section orientation to Landscape and saved. When I rerun the test app, the report still comes out portrait.

    I loaded PeteReport.rdlx into the Active Reports 20 designer. Ran the report and pressed print. The report display is landscape, but when I print it is portrait. If I go into the printer properties dialog appears, the orientation is portrait. I must manually change it to landscape.

    In previous versions it would print landscape. Any ideas? Thanks

  • Posted 9 March 2026, 3:11 am EST

    Hello Peter,

    Thank you for reaching out to Mescius Support.

    We are also able to observe the same behavior where the orientation appears as Portrait in the preview property window, even though the report layout is Landscape. We are currently discussing this with our development team and will keep you informed as soon as we receive any updates from them.

    [Internal Tracking ID: AR-37181]

    We also tested printing the report using ActiveReports 20, and observed that it prints in landscape format, even though the preview window displays it as portrait. If you encounter any issues while printing the report, please let us know, and we will be happy to assist.

    Regards,

    Prabhat Sharma.

  • Posted 9 March 2026, 7:35 am EST

    I also noticed that I may be ignoring the page margin settings in the report section properties as well.

    Thank you for your help!

  • Posted 10 March 2026, 3:54 am EST

    Hi,

    Thank you for your message.

    Please note that the page margin settings do not affect the report’s paper orientation. Therefore, there is no need to be concerned about the margins affecting this behavior.

    Please let me know if you have any further questions.

    Regards,

    Prabhat Sharma.

  • Posted 18 March 2026, 2:44 pm EST

    The workaround for me is to manually set landscape after loading the report

    myReport.Document.Printer.Landscape = true;

  • Posted 12 May 2026, 3:23 pm EST

    I don’t think this is a new issue. I am seeing the same behavior in Active Reports 17. The problem is this customproperty code at the very bottom of the XML file. It is set on the first save of the file and never changed regardless of the settings in the designer. Portrait orientation doesn’t have the code and it doesn’t get added when changed to landscape. Landscape has it but it doesn’t get changed to portrait or removed going from landscape to portrait. Editing the XML to add or remove the code is the workaround.

    <CustomProperties>
    	<CustomProperty>
    		<Name>PaperOrientation</Name>
    		<Value>Landscape</Value>
    	</CustomProperty>
    </CustomProperties>
    
  • Posted 13 May 2026, 6:03 am EST

    Hi Bestes,

    It was just a bug in a specific version, i.e., in AR v20 and now it has been fixed in ActiveReports v20.0.2. We tested the issue with the latest version. We would recommend upgrading to ActiveReports v20.0.2 or later to resolve the issue.

    Please let us know if you need any assistance with the upgrade process or if you have any further questions.

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels