How to catch Printed event while using printWithoutPreview method?

Stimulsoft Reports.ANGULAR discussion
Post Reply
msk
Posts: 5
Joined: Tue May 10, 2022 1:27 pm

How to catch Printed event while using printWithoutPreview method?

Post by msk »

I am attempting to capture the 'printed' event in my Angular application. I can successfully do this when using the browser's print button or function (window.print). However, I need to be able to capture this event specifically for Stimulsoft reports. Is there a way to capture the 'printed' event after a user has clicked the print button that the 'printWithoutPreview' method has opened?
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: How to catch Printed event while using printWithoutPreview method?

Post by Lech Kulikowski »

Hello,

Yes, you can use the Print event:
https://www.stimulsoft.com/en/documenta ... eports.htm

Thank you.
msk
Posts: 5
Joined: Tue May 10, 2022 1:27 pm

Re: How to catch Printed event while using printWithoutPreview method?

Post by msk »

Hello,
you shared with me dotnetcore code/documentation but how can i use it in angular, more importantly in browser? I need to capture it in browser, in DOM probably. How dotnetcore code provide me this i didn't quite understand.
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: How to catch Printed event while using printWithoutPreview method?

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
Vadim
Posts: 363
Joined: Tue Apr 23, 2013 11:23 am

Re: How to catch Printed event while using printWithoutPreview method?

Post by Vadim »

Hello.

You can handle print event for your needs
https://www.stimulsoft.com/en/documenta ... rences.htm
Post Reply