Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Print Orientation always landscape in printer preference when use custom size NAV 2016

(0) ShareShare
ReportReport
Posted on by 640

Dear all,

I am using NAV 2016 Cumulative Update 20.

I want to print report 206 (Sales - Invoice) with paper size 22 cm x 14 cm and portrait orientation.

But, when I print the report, why print orientation in printer preferences is always landscape?

How to set it to portrait automatically?

Please help. Thank you.

Best regards,

Johanna

*This post is locked for comments

  • pearl_jo Profile Picture
    pearl_jo 640 on at
    RE: Print Orientation always landscape in printer preference when use custom size NAV 2016

    Dear Binesh,

    Thank you so much for your workaround ideas for this issue :)

    It works well :)

  • Verified answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: Print Orientation always landscape in printer preference when use custom size NAV 2016

    Hello,
    Look Johana,

    You can achieve your requirement by creating one more report, just SaveAs this Report,
    And make this report Layout is Landscape, and write code for running NewlySaved report if the user click on Print,
    he/she will get that report, or if he/she click on Preview then he/she will get this report.
    See below screenshot for code.

    2017_2D00_09_2D00_07_5F00_12_2D00_16_2D00_02.png

  • pearl_jo Profile Picture
    pearl_jo 640 on at
    RE: Print Orientation always landscape in printer preference when use custom size NAV 2016

    Dear Binesh,

    Thank you so much for your detail explanation :)

    If I use page size 14 cm x 22 cm, the print result is in 22 cm x 14 cm with portrait orientation.

    But, when I print from preview page, the print result is in 14 cm x 22 cm with portrait orientation. How to make the preview page use 22 cm x 14 cm with portrait orientation?

    Best regards,

    Johanna

  • Verified answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: Print Orientation always landscape in printer preference when use custom size NAV 2016

    Hello Johanna,

    in RDLC Layout i made changes, don't confuse by seeing the sizes,

    If the Paper size is Custom then it takes printer's setting,

    see the below screenshot:

    printer-setup1.png

    See the printer preference

    printer-setup1.png

    Result:

    report1.png

  • pearl_jo Profile Picture
    pearl_jo 640 on at
    RE: Print Orientation always landscape in printer preference when use custom size NAV 2016

    Dear Binesh,

    Do you use NAV 2016?

    I try to print and I see the printer preference use landscape orientation.

    And the result is not in portrait orientation.

    Best regards,

    Johanna

  • Suggested answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: Print Orientation always landscape in printer preference when use custom size NAV 2016

    Dear pearl_jo,

    Orientation is looking Landscape, but when you are going to print it paper height is coming whatever you given.

    try it by printing.

  • pearl_jo Profile Picture
    pearl_jo 640 on at
    RE: Print Orientation always landscape in printer preference when use custom size NAV 2016

    Dear Binesh,

    Thank you for your reply.

    I have set the InteractiveSize as your screenshot.

    Please look at the orientation in your RDLC Report Properties. It is always landscape, isn't it?

  • pearl_jo Profile Picture
    pearl_jo 640 on at
    RE: Print Orientation always landscape in printer preference when use custom size NAV 2016

    Dear Amol,

    I have set it to custom size.

    The orientation is always landscape when the width is longer than the height.

    Best regards,

    Johanna

  • Suggested answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: Print Orientation always landscape in printer preference when use custom size NAV 2016

    Hello Pearl_JO,

    Give the Report InteractiveSize in RDLC Layout, see the bellow screenshot.

    4353.RDLC.png

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Print Orientation always landscape in printer preference when use custom size NAV 2016

    Then Check the Paper Size You need to select A4 or if it is custom size then select Custom

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans