Link to home
Start Free TrialLog in
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

User generated image
ASKER CERTIFIED SOLUTION
Avatar of sarabande
sarabande
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of _ecpirosis_
_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
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.
Thank you Sara, it works.
Francesco
I apologize for the delay.
Francesco