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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Access selected Printer in Report page

(1) ShareShare
ReportReport
Posted on by 24
Hi 
 
Is any possibility to access selected printer in report page ? I need to display the Printer Description just below the Printer Name , and also it need to update when changing printers 
 
I have the same question (0)
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    1,202 on at
    Access selected Printer in Report page
    Hii there ,
     
    As far I know there we can add option below options in provided snapshot .
     
    And if you want to get the name you can use the following event -> OnAfterGetPrinterName From ReportManagement
     
     
    You can apply some more customisation as per requirement.
     
     
    If you found answer please mark it answered.
     
     
    Thank you,
    Kamal Khakhkhar 
  • PhillipsB Profile Picture
    102 on at
    Access selected Printer in Report page
    Hi,
     
    It's possible. As mentioned, You can do this with the OnAfterGetPrinterName event in ReportManagement to capture the selected printer. You can retrieve the printer name and then use it as a trigger to pull additional details.
     
    You can customize the report layout to display the printer description just below the printer name. This can be done by adding a custom field for the printer description that dynamically updates based on the selected printer. To dynamically update the printer description, you may need to create a mapping in the code where the printer name corresponds to its description. You can store these details either in a setup table or hard-code them, depending on the complexity of your requirement.
     
    However, Ensure that whenever the printer is changed, the report page is refreshed, and the description is updated. You can handle this by calling the refresh logic within the event that listens for printer changes. By combining the OnAfterGetPrinterName event with a bit of layout customization, you should be able to display the printer description as required.
     
    Hope it will help
  • Suggested answer
    Andy Wingate Profile Picture
    324 on at
    Access selected Printer in Report page
    Hello 
     
    Can you not save yourself a lot of hassle and simply update the printer ID to give enough info for the users?
     
    Also it is only 1 click to see the full desc - It might be better to manage the users expectations than add in a developent for this small change - if that is possible!
     
     
    Cheers
    Andy

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,179

#2
OussamaSabbouh Profile Picture

OussamaSabbouh 1,999

#3
YUN ZHU Profile Picture

YUN ZHU 1,892 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans