Greetings! I'm working on a application that catches all print jobs sent to a printer. I was able to get this to work by using a FileSystemWatcher object to watch for new files created in the "C:\WINDOWS\system32\spool\PRINTERS\" directory. When this event is fired, I use WMI to query the print job to get certain information about the job (i.e. printer name, document name, number of pages, etc).
This works great for local printers, but how would I configure this to work for network printers? Is there a way I can watch for print jobs sent to network printers so that I can catch the information? This is a very frustrating problem and I need to try to resolve it as quickly as possible.
Thank you in advance for your help!
(txmed)
This works great for local printers, but how would I configure this to work for network printers? Is there a way I can watch for print jobs sent to network printers so that I can catch the information? This is a very frustrating problem and I need to try to resolve it as quickly as possible.
Thank you in advance for your help!
(txmed)