Report Printed event
Report Printed event
Hello,
I am trying to get notified if a report is being sent to the printer. I have found the Printed event handler, which looks like it is supposed to do what I am after. However, if the user selects cancel on the windows print dialog the Report.Printed event is still being raised
Is there a way to know if the report has been sent to the printing spool?
Thanks
Craig
I am trying to get notified if a report is being sent to the printer. I have found the Printed event handler, which looks like it is supposed to do what I am after. However, if the user selects cancel on the windows print dialog the Report.Printed event is still being raised
Is there a way to know if the report has been sent to the printing spool?
Thanks
Craig
Re: Report Printed event
Hello,
You can use the following code in the
Thank you.
You can use the following code in the
Code: Select all
var result = (sender as StiReport).PrinterSettings.PrintDialogResult;
if (result == DialogResult.OK || result == DialogResult.None)
{
...
}
Re: Report Printed event
Thank you very much.
It works very well
It works very well
Re: Report Printed event
Hello
We are always glad to help you!
Let us know if you need any additional help.
Thank you.
We are always glad to help you!
Let us know if you need any additional help.
Thank you.
-
- Posts: 8
- Joined: Mon Sep 03, 2018 4:38 am
Re: Report Printed event
how to make it in stimulsoft js
-
- Posts: 6812
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report Printed event
Hello,
In the Web version, it is not possible due to the browser limitations.
Thank you.
In the Web version, it is not possible due to the browser limitations.
Thank you.
-
- Posts: 8
- Joined: Mon Sep 03, 2018 4:38 am
Re: Report Printed event
how to remove browser margin and header ,footer in stimulsoft js
thanks
thanks
Re: Report Printed event
Please try to remove that option from printer settings.
Thank you.
-
- Posts: 8
- Joined: Mon Sep 03, 2018 4:38 am
Re: Report Printed event
what browser are you using?