Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Is it possible to promt user for printer selection

Posted on by Microsoft Employee

Hi 
When we print (anything) from NAV 2013 the print is sent to the users default printer, but that is not what we want.

I have looked at the Printer Selections table, but the options here is also not what we want.

We want that every time we print something, that we get the option to choose between the printers available on the client.

Can this be setup?

*This post is locked for comments

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Is it possible to promt user for printer selection

    Yes, you need to have a developer license to access the code and make the changes. If you don't have access please ask you partner, it is a very small change as described above.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is it possible to promt user for printer selection

    Hi Suresh

    Thanks for your reply.

    Will this change require some kind of developer licence?

    It seems I don't have any "code function" in my client software.

    Best regards

    Thomas

  • 4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: Is it possible to promt user for printer selection

    Hi TMNielsen,

    "Post and Print" function of the General Journal prints out the report directly by default, as fast as possible like POS bill printing. You need to do a small customization as Suresh mentioned to popup the report request page.

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Is it possible to promt user for printer selection

    If you use Post and Print there is no request window, it directly sends the report to the default printer, if you want to change that on the General Journal then you have to modify the code in 232 codeunit in the code function where it says

         REPORT.RUN(GenJnlTemplate."Posting Report ID",FALSE,FALSE,GLReg);

    change this to

         REPORT.RUN(GenJnlTemplate."Posting Report ID",TRUE,FALSE,GLReg);

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is it possible to promt user for printer selection

    Hmm, I'm sure I have seen this problem in different reports, but now it only appears in one place.

    When I edit a General Journal and press "Post and Print" it will automatic use the clients default printer or the printer configured in the Printer Selection table if this is maintained.

    If I print other reports, there will be a default printer, but I have the option to change it. 

    So it seems the problem is limited to the "Post and Print" function of the General Journal.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Is it possible to promt user for printer selection

    By default when you print a report it opens a windows system printer selection window to select the printer, i don't think you need to open the Navision printer selection window to select a printer unless you want to restrict the user a specific report to specific printer. Please us know your requirement.

  • mmv Profile Picture
    mmv 11,465 on at
    RE: Is it possible to promt user for printer selection

    Hi,

    While clicking on the Print button on the RequestPage, system opens up the Printer selection window.  Isn't that what you are looking for?

    Best Regards,

    MMV

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans