views:

87

answers:

1

the context

i use Spooler Events API to capture events generated by the spooler when a user prints a document ie.

FindFirstPrinterChangeNotification
FindNextPrinterChangeNotification

the problem

When I print a document on the network printers from my machine no events are captured by the monitor (uses the fuctions above)

Notice

Events ARE generated OK for local printers, only Network Printers are problematic!

A: 

From the documentation:

Note: In Windows XP with Service Pack 2 (SP2) and later, the Internet Connection Firewall (ICF) blocks printer ports by default, but an exception for File and Print Sharing can be enabled. If a user makes a printer connection to another machine, and the exception is not enabled, then the user will not receive printer change notifications from the server. A machine admin will have to enable exception.

Luke