Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Answered

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

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

  • 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

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,126 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans