Page 1 of 1

printing with SRichViewEdit

Posted: Mon Mar 31, 2025 1:43 pm
by tiagosis
Hello, since I updated to v23 I started having a problem with printing, another printout simply comes out instead of the one I have on the screen in SRichViewEdit, this happens randomly, not always... what could be happening?

Re: printing with SRichViewEdit

Posted: Mon Mar 31, 2025 2:37 pm
by Sergey Tkachenko
Can the problem be reproduced in ActionTest demo?

Re: printing with SRichViewEdit

Posted: Mon Mar 31, 2025 2:57 pm
by tiagosis
So, it's like I told you, the problem happens quite randomly, I couldn't identify a pattern.

Re: printing with SRichViewEdit

Posted: Mon Mar 31, 2025 3:02 pm
by tiagosis
and all I did was update, change the storage format from RTF to DOCX
and also added the spell checker feature

Re: printing with SRichViewEdit

Posted: Wed Apr 02, 2025 12:15 pm
by tiagosis
hello?

Re: printing with SRichViewEdit

Posted: Wed Apr 02, 2025 1:56 pm
by Sergey Tkachenko
These features (loading formats and spelling checking) do not affect printing.
What exactly do you mean by "another printout comes out?"

Re: printing with SRichViewEdit

Posted: Wed Apr 02, 2025 1:57 pm
by tiagosis
I mean, it could be that something is cached leaving some previous impression

Re: printing with SRichViewEdit

Posted: Wed Apr 02, 2025 1:58 pm
by tiagosis
Is there any way I can ensure print cleanliness before sending a new one?

Re: printing with SRichViewEdit

Posted: Wed Apr 02, 2025 3:36 pm
by Sergey Tkachenko
Do you want to clear all printing jobs in progress (probably created by other applications?)
I think this is a very bad idea.
But it looks like it is possible. See https://learn.microsoft.com/en-us/windo ... -functions
As I can see, you can enumerate jobs using EnumJob, and stop them using SetJob,