Forum Discussion
Do you use SSRS inside of Aras already? Please note that SSRS inside Aras is not recommended for each environment, as SSRS bypasses the permission model.You can either use separate Report items that link to the Report server or directly use code. For your usecase probably second option is preferable.
It should be possible that you use this sample as basis to get your report from the report server:
https://github.com/AngelaIp/add-ssrs-reports-to-vault/blob/master/AIP_get_SSRS_Report.cs
The sample includes a lot of additional stuff, but in your case you mainly should focus on getting the report stream.
I think it´s possible to forward the stream content to the printer. There are a lot of samples online available, but I have never tested out them.
https://stackoverflow.com/questions/9717686/printing-a-report-server-side-and-silently
https://www.syncfusion.com/kb/9658/silently-printing-ssrs-rdl-and-rdlc-reports-programmatically-in-c-without-preview
Good luck!
- paul_sheehy6 years agoIdeator III
Thanks for the tip. I will look into rendering an SSRS report from Aras and sending it to a printer. It will take a decent amount of development though.
Back to my original questions, any thoughts on #2 and #3?
If I can get Aras to generate the PDF in portrait instead of landscape, I can have them print the PDFs manually. This would be a better Phase 1 approach, and look at the SSRS rendering method as a Phase 2.
Being able to have Aras programmatically open the 'printable view' form (and save the PDF locally) seems very doable, but Support does not have any sample documentation on how to do this.
Thanks,
Paul