Print SSRS Report from custom c# code in button click event

Hello,

I am currently trying to submit an SSRS report for printing through custom code in an on click event for a button added to a customization. I have added the button to the customization and created the empty on click event, but I am at a loss as to how I would submit the report for printing through c# code as I am very new to Epicor programming. I did some browsing earlier and saw some posts about printing SSRS BAQ reports from c#, but I am not using a BAQ to run this report.

If someone could point me in the right direction, or let me know if this is even possible, I would greatly appreciate it. Thanks.

Which report? There should be an adapter you can use.

I have an old thread where I was trying to kick off the Sales Order via a BPM from a checkbox (in my case) but should help you get the gist.

Its a custom SSRS report that I created that uses Epicor 10 data as well as MySQL data.