?
Solved

Window Message value for when a document is printed

Posted on 2003-02-23
2
Medium Priority
?
143 Views
Last Modified: 2010-04-04
I have a printer driver which broadcasts messages to all applications when it is printing.

I have tried everything to capture these message events but it is not working.

I've look through the Win32 documentation but cannot find a WM value with is associated with the print command.

Is there a WM value for printing?
0
Comment
Question by:LeoDrak
2 Comments
 
LVL 9

Accepted Solution

by:
mocarts earned 300 total points
ID: 8004155
The WM_SPOOLERSTATUS message is sent from Windows Print Manager whenever a job is added to or removed from the Print Manager queue.

WM_SPOOLERSTATUS  
fwJobStatus = wParam;       // job-status flag
cJobsLeft = LOWORD(lParam); // number of jobs remaining
 

Parameters

fwJobStatus

Value of wParam. Specifies the PR_JOBSTATUS flag.

cJobsLeft

Value of the low-order word of lParam. Specifies the number of jobs remaining in the Print Manager queue.

wbr, mo.
0
 

Expert Comment

by:CleanupPing
ID: 9317115
LeoDrak:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question