I've implemented the Telerik Reporting engine in a remote ASP.NET Core Web API by following this article. The implementation works as expected - I'm able to retrieve my report template, bind it to data & have a WinForms ReportViewer control render it on the client-side application.
I now wish to implement the ability to automatically print the reports without having to display a UI to users. Ideally we want them to click a button in the application (not from a ReportViewer toolbar) & have the report sent immediately to the printer. We will have the necessary settings available programmatically to configure the printer.
I'm aware of the ReportProcessor.PrintReport() method, which will allow me to do this. What I'm having trouble with is how to configure a ReportSource object that will be passed as the first parameter to PrintReport() that will allow it to request the report from my remote report endpoint. When displaying these reports in the ReportViewer control, a connection string is configured for the remote report server, but I can find no similar concept of any of the ReportSource objects. The closest I could get was by using UriReportSource, but I'm unsure what to set the Uri property to.
Any assistance would be greatly appreciated.