Page 1 of 1

Print without Preview no execute Printed event

Posted: Tue Jun 12, 2018 8:41 pm
by Marlesio
Hi,

I created a code in printed event of a report, but it does not run when the report is printed without preview.
How do I use the printed event without preview?

Regards,

Marlesio

Re: Print without Preview no execute Printed event

Posted: Thu Jun 14, 2018 7:35 pm
by HighAley
Hello, Marlesio.

Unfortunately, this event does not work in net.
It seems that you are using the StiWebViewer.
You could use the PrintReport event of the viewer.

Thank you.

Re: Print without Preview no execute Printed event

Posted: Fri Jun 15, 2018 6:12 pm
by Marlesio
HighAley,

I guess I was not clear enough.
Whenever a particular report is printed, I need to save the date and time. This way includes this routine in the Printed event of it.
However, the date is only recorded when the report is printed through the viewer. If you try to print straight, without displaying the preview, the Printed event does not fired.

Regards,

Re: Print without Preview no execute Printed event

Posted: Tue Jun 19, 2018 7:46 pm
by HighAley
Hello, Marlesio.

Your issue is not clear.
What Viewer do you use for printing?
How do you print the report when you don't get the date?
Could you send us a sample with step-by-step instruction that will help us to reproduce the issue?

Thank you.