Page 1 of 1

How to catch Printed event while using printWithoutPreview method?

Posted: Wed Jun 21, 2023 12:48 pm
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?

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

Posted: Thu Jun 22, 2023 9:29 pm
by Lech Kulikowski
Hello,

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

Thank you.

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

Posted: Tue Jul 04, 2023 2:17 pm
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.

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

Posted: Fri Jul 07, 2023 7:31 pm
by Lech Kulikowski
Hello,

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

Thank you.

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

Posted: Mon Jul 10, 2023 7:11 am
by Vadim
Hello.

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