I have a requirement in my Angular 9 application to generate and print reports.
1. I am looking for suggestions on how to handle printing reports where a user triggers the action by clicking a button, and the report data needs to be fetched from the database
2. I do not want to use window.print()
because it prints the entire screen which is not ideal. Additionally, I would like to display a loading spinner while the report data is being retrieved.
In terms of backend development, I am utilizing .Net Core.
Any assistance or guidance on this matter would be greatly appreciated.