I have a report which has 2 components , SSRS + attachment stored in Docref table.
When a user prints the report, the report prints via the printer user chooses in the print medium window , for example Printer A.
However the attachment prints via Printer B which is default printer in user's system.
Also when user prints multiple reports , all the SSRS stuff prints 1st & then all the documents from Docref table.
Please let me know what can i do to achieve the following.
1 . Both SSRS & Docref attachments prints through 1 printer which user chooses in print medium window, i.e. all via Printer A & nothing prints to Printer B.
2. When multiple reports are printed it prints like report1+ attachments for report 1, report 2 + attachment for report 2 & not like report 1 + report 2 + attachments 1 + attachments2..
I was thinking of making attachment as file object in SSRS report, but then that would be altogether different problem as attachments could spill unevenly across pages, plus read multiple articles suggesting not to include attachment as file object in SSRS report.
I think most probably i will have to print & store the report 1st as PDF & then print this PDF to printer followed by related attachments, however unsure how to get this technically done in X++.
Please suggest a solution.
Thanks & Stay safe.
Mav