I see you are likely calling the window.print in the pain page, but you want to print the element where is the report displayed. I don't know angular or mat-dialog, you may get better help on other forums because this isn't related to jsreport. You get a buffer or stream from jsreport with pdf representation. You are able to display it. You display it for example in a specific iframe. Then you want to call the print on the particular iframe. In other cases, there can be other approaches to print but relates to the specific aspects of how you display it.
S