web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Auto report - Page orientation

(0) ShareShare
ReportReport
Posted on by

Hi,

For info, we use AX 2012 R2.

I've been trying to create a layout template that users can choose when they run an auto report. Currently if users try to print these auto reports, they are printed in portrait rather than landscape and the print is very small, too small to read.

If I go to General Ledger > Common > Trial Balance, select a row and click on balance, select File > Print I get a prompt asking for me to select a report. Here I chose Modify > New and went through the wizard. I chose just five fields to display (to return a short row). For the report layout I chose our own layout template and the same for the table style template (I chose our own). The default layout prints in portrait also.

When I view the report on screen, it's in landscape, when I do a print preview it's in portrait and if I actually print the result, not surprisingly it is also in portrait. If I change the printer setting to landscape, the page comes out in landscape, but the report is printed very small in the middle of the page and doesn't use all of the page width.

My question is, how can I print this report in landscape?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Umesh Pandit Profile Picture
    9,315 User Group Leader on at

    Hi Rick.

    This link might help you.

    technet.microsoft.com/.../ee873254.aspx

  • Suggested answer
    Umesh Pandit Profile Picture
    9,315 User Group Leader on at

    Check this also,

    element.printJobSettings().preferredOrientation(PrinterOrientation::Portrait);

    element.printJobSettings().fitToPage(false);

    or

    AOT>Report>New Report>Design> orientation set to Landscape in report design property.

  • Suggested answer
    Kumar Gaurav @ MS Profile Picture
    on at

    on the design node of your report you can specify the page size and interactive size for your report, so if you have to print on a A4 size , you can specify height 21cm and width as 29.7 cm. The report will adjust the orientation it self. As you are in AX 2012 so this will be done in VS report development environment.

  • Community Member Profile Picture
    on at

    Thanks everyone for your replies.

    There maybe a little confusion. The report in question is an autoreport. It's standard "user" functionality. I have not had to create the report myself, it's done on the fly in AX using the autoreport wizard (see the steps in the original post).

    In the autoreport wizard, the user has the option to set the report layout template and the table template. I cannot see where in a template I can set the page orientation.

    The wizard steps are as follows

    1

    4670.two_2C20_.jpg

    2

    7180.three_2C20_.jpg

    3

    5557.four_2C20_.jpg

    4

    As I said, the report shows as landscape on screen, but portrait in print preview and when actually printed. I need to find a way to print it in landscape.

    Thanks.

  • Verified answer
    Community Member Profile Picture
    on at

    UPDATE

    Microsoft have confirmed this is a bug in R2 and will be fixed in R3. The Microsoft bug ID is #844620

  • Community Member Profile Picture
    on at

    Hi Rick,

    thanks for the update.

    Cheers

    Soren

  • Marcin_Szoltysek Profile Picture
    10 on at

    Hi Rick, did they mention any patch for R2? I've checked LCS but no result for the issue.

  • Community Member Profile Picture
    on at

    This was a while back... but I was told no patch for R2 you'll need to upgrade to R3.

  • Marcin_Szoltysek Profile Picture
    10 on at

    I've tested it on most recent AX 2012 R3 and got the same, on screen seems "landscape" but printed to PDF or printer, always "portrait".

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans