January 20th, 2010, 05:38 AM
Printing events thrown by Printer Spooler in Event Viewer in Windows Server 2008 R2
I want to make a program that gets all the events related to printing (events that printer spooler service probably throws).
In Windows XP, there is no such problem since I got all printing events with source name "Print" from the "System" log.
But in Windows Server 2008 R2, the printer spooler does not seem to throw events in the "System" log.
Where exactly are the printing events located? I found some printer related events in "Microsoft-Windows-PrintService/Operational" log
but when I tried to get the events using .NET from this log, then there is an exception thrown that there is no such path.
Not only I could not find on internet HOW to get the printer events in Windows Server 2008 R2 using .NET but I could not even find WHERE all these events are thrown.
Thanks in advance
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.