Page 1 of 1

Direct Print in Angular

Posted: Fri Mar 10, 2023 1:08 pm
by msk
Hello,
I am using Angular component for frontend and dotnetcore for backend. I need to send reports directly to printer or open print dialog but i am unable to manage that. Is there any way to do it?

Re: Direct Print in Angular

Posted: Mon Mar 13, 2023 7:44 pm
by Lech Kulikowski
Hello,

Please check the following article:
https://www.stimulsoft.com/en/documenta ... eports.htm

Thank you.

Re: Direct Print in Angular

Posted: Tue Mar 14, 2023 9:47 am
by msk
Lech Kulikowski wrote: Mon Mar 13, 2023 7:44 pm Hello,

Please check the following article:
https://www.stimulsoft.com/en/documenta ... eports.htm

Thank you.
Well that doesn't solve my problem entirely because what i want to do is that show print dialog without preview. With method in documentation i can only change behavior of toolbar. I don't need to preview the report, I need to send it directly to printer without opening in view mode.

Re: Direct Print in Angular

Posted: Tue Mar 14, 2023 10:25 am
by Vadim

Re: Direct Print in Angular

Posted: Tue Mar 14, 2023 11:24 am
by msk
Vadim wrote: Tue Mar 14, 2023 10:25 am Hello.

You can use api method viewer.api.printWithoutPreview();
https://github.com/stimulsoft/Samples-A ... %20Methods
https://www.stimulsoft.com/en/documenta ... rences.htm
Thank you, that is what i needed.

Re: Direct Print in Angular

Posted: Wed Mar 15, 2023 10:23 am
by Lech Kulikowski
Hello,

You are welcome.