Direct Print in Angular

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

Direct Print in Angular

Post 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?
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Direct Print in Angular

Post by Lech Kulikowski »

Hello,

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

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

Re: Direct Print in Angular

Post 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.
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: Direct Print in Angular

Post by Vadim »

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

Re: Direct Print in Angular

Post 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.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Direct Print in Angular

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply