Skip to main content

Notifications

Microsoft Dynamics NAV forum
Suggested answer

Problem when printing a report horizontally

Posted on by 215

Hi everyone,

I've just found an issue with a customer, that it's driving me crazy. We've got a report, that it has been printing horizontally without any problem, and without request page, directly to the printer.

But this morning, I've made a small change in layout, just moving a barcode to a new place. After the change, when I send the report to the printer, it prints vertically, dividing the report in 2 different pages. The only way to print it correctly, is to change requestPage to "yes", and change the printer properties every time we print.

By the way, the orientation is landscape:

Hope anyone has any hint with this issue, because it's quite critical. Every change in every report, causes this problem.

Thank you very much

  • Ghetz Profile Picture
    Ghetz 2,983 on at
    RE: Problem when printing a report horizontally

    My report layout properties are like this

    pastedimage1659029607895v1.png

    Si I have no idea, why it's printing vertically.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Problem when printing a report horizontally

    Here are some good insights into where printing properties are read from and in what order:

    docs.microsoft.com/.../ff477105(v=nav.90)

    docs.microsoft.com/.../devenv-report-properties

    Hopefully there are some information there that can help you figure out what is causing this behavior.

  • Ghetz Profile Picture
    Ghetz 2,983 on at
    RE: Problem when printing a report horizontally

    In preview and in PDF, it's working perfectly, prints in landscape. I've checked, report Layout is landscape

    However, this users always call "Post and print" option, so report goes directly to printer without Request Page; and in this case, all landspace reports, are been printed vertically.

    I also can't justify it's a printer issue, because if for example I go to MS Word and print a landscape orientation document, it prints correctly, so it's only happening when printing from BC140.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Problem when printing a report horizontally
    [quote user="Ghetz"]

    We have this issue in BC140. it started happening after a Windows update. 

    Any fixes 4 years later??

    [/quote]

    Could be that windows is rendering your report a little different after the windows update.

    How does the preview look compared to the print or if you print to pdf does it show correctly then ?

  • Ghetz Profile Picture
    Ghetz 2,983 on at
    RE: Problem when printing a report horizontally

    We have this issue in BC140. it started happening after a Windows update. 

    Any fixes 4 years later??

  • jgaztanaga Profile Picture
    jgaztanaga 215 on at
    RE: Problem when printing a report horizontally

    Thank you all for your answers. I've seen a extrange thing, but it has helped me, and we have a temporary solution, until we find the cause of the problem. As I've said in earlier message, if I send directly to printer from the request page,  it changes the orientation from horizontal to vertical. But, instead of sending directly to printer, I open the preview, and send it to printer from the preview mode, it prints correctly in landscape mode.

    It is a quite extrange thing, don't know which could be the reaseon of that. Could be a bug or something in NAV???

    Anyway, thbnk you all for your ansewers and tips, realle appreciated

  • jgaztanaga Profile Picture
    jgaztanaga 215 on at
    RE: Problem when printing a report horizontally

    Thank you again for your answers. This isue is still driving me absolutely crazy.
    Answering to you, Olister, I've send the small report to a DinA4 print, to ensure that it's not a page size problem, but again, it prints in vertical, we have to change manually the printer orientation to horizontal.
    Ashwini.123, I've changed that property, and still the same. Have to say, that this property has the same value in the report in 2013.
    Talking about 2013, the report has been copied from 2013 directly to 2018. EN 2013 server, is printing perfectly, with the same printer.
    I'm quite sure that it's not a layout issue, because if instead of printing, if I save it as excel, it's perfect. May be the communication of NAV with the printer driver... Don't know

  • Suggested answer
    4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: Problem when printing a report horizontally

    Hi Jgaztanaga,

    Did you try to restart the NAV Service, or run report directly from Development Environment?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Problem when printing a report horizontally

    Hi jgaztanaga,

    Please check in your report property preview mode must be in Print layout.

    Thank you

  • Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: Problem when printing a report horizontally

    Hi jgaztanaga,

    Try printing with a different printer. I've faced the same issue after repairing my printer.

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 227,971 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans