Print jobs and printing PC names or IPs

Hi,

>The Situation:
I’ve a server and several clients PCs, all with WinXP.
The server have a shared printer connected to.
Spooling is active.
The clients print over that shared printer using notepad, or textpad or the
“type” and “copy” commands or whatever.

>The Question:
I’ts possible to know (on the server side) the name of the client PC (machine name or IP address) that is printing on the server’s printer, so I can log the client’s printing activity?

Many thanks in advance
Roberto

See the localmon sample with the WDK. That sample show how to monitor and control print activity.