How to get all the IPs(or username) from server of the clients connected to a shared print object?

62 Views Asked by At

How to get all the IPs(or username) from server of the clients connected to a shared print object?

Any help towards this direction would be great...Thank You.. Need help in Win 32 ...

1

There are 1 best solutions below

0
On BEST ANSWER

Please check Print Spooler API patriculary EnumJobs function.

Also check FindFirstPrinterChangeNotification function. You can create notification object for jobs and that way monitor who submited the job & what is printed on that printer.