|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Monitor printersHi,
I have a problem google or these groups has not yet been able to provide an answer for, I could be missing something obvious. But I certainly hope not. I want to monitor all printer queues on the computer - and get a notification when something changes (i.e. a new job is added or such). Preferable without polling, but that is secondary. Anyone got any idea on where to look/ask? Perhaps someone in here has a solution and is willing to share? // Fredrik Hi Fredrik,
> I want to monitor all printer queues on the computer - and get a See here for a VB.NET example:> notification when something changes (i.e. a new job is added or such). http://www.codeproject.com/vb/net/printwatchvbnet.asp Hope this helps! -- Regards, Mr. Jani Järvinen C# MVP Helsinki, Finland ja***@removethis.dystopia.fi http://www.saunalahti.fi/janij/ wrote:
> Hi Fredrik, Thanks,> >> I want to monitor all printer queues on the computer - and get a >> notification when something changes (i.e. a new job is added or such). > > See here for a VB.NET example: > > http://www.codeproject.com/vb/net/printwatchvbnet.asp > > Hope this helps! > Hadn't found this one... I can probably make it work somehow, unfortunantly I do not have VB.NET in my VS - so sorting out which file is which will be murder, to boot the example test program crashed on start :( // Fredrik "Jani J���������������������������������������������" wrote: Managed to find it in compiled form at> Hi Fredrik, > >> I want to monitor all printer queues on the computer - and get a >> notification when something changes (i.e. a new job is added or such). > > See here for a VB.NET example: > > http://www.codeproject.com/vb/net/printwatchvbnet.asp > > Hope this helps! > http://www.merrioncomputing.com/Download/PrintQueueWatch.htm Don't know if this is the latest version, but seems to work. Now all I need is to make it a service :D // Fredrik
Learning & Frustration.
Most popular object persistence framework Programmatic diagnostic questions about dlls Using cacheing?? Merging Visual Studio & SDK Help custom serialization..need help Right Click Context Menu of a C# windows application not working o compact framework Concurrency violation: the UpdateCommand affected 0 of the expecte DoEvents in c#.net |
|||||||||||||||||||||||