Avatar of _ecpirosis_
_ecpirosis_
 asked on

Intercepting spooler timeout messages

Hi Experts,
I have an unattended printing process on w2k sp4. When the printer goes down a popup asks if retry or cancel the job.
The best would be  intercept the message, cancel the job, write a log and then reset the state.

The lowest level of the solution would be avoid the user message triggering a predefined condition such as delete job.

Do you know a way to achive this?
 
Thank you in advance for every suggestion
Francesco

The interactive error message that should be intercepted
Windows OSPrinters and ScannersSystem Programming

Avatar of undefined
Last Comment
_ecpirosis_

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
sarabande

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
_ecpirosis_

ASKER
Hi Sara, thank you for the answer.
Some details: the message is not generated from an interactive application (as far I can understand) but from the spooler process itself (spoolsv.exe).
I am going to try your solution.
Thank you very much for the direction
Francesco
hdhondt

I've requested that this question be closed as follows:

Accepted answer: 500 points for sarabande's comment #a40863084

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
_ecpirosis_

ASKER
Thank you Sara, it works.
Francesco
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
_ecpirosis_

ASKER
I apologize for the delay.
Francesco