how to detect when a user is start printing
-
I are troll :)
-
You could have a look at PrintServer Class[^] and PrintQueue Class[^]
The need to optimize rises from a bad design.My articles[^]
-
They don't have any events, you're right about that. One possibility could be using WMI, but that's not so familiar to me. When I answered I was thinking if you could for example pause the queue and just let those jobs through which you have already recorded.
The need to optimize rises from a bad design.My articles[^]
-
They don't have any events, you're right about that. One possibility could be using WMI, but that's not so familiar to me. When I answered I was thinking if you could for example pause the queue and just let those jobs through which you have already recorded.
The need to optimize rises from a bad design.My articles[^]
-
This may not be the best idea, but since you can pause the queue, you could leave it like that. When a new job is submitted to the queue, you have the time to gather the information from that job and after that you can release it. I don't know if it's possible but if the queue can be configured so that every new job is paused by default, then you could do the release per job. That would be more reliable.
The need to optimize rises from a bad design.My articles[^]
-
This may not be the best idea, but since you can pause the queue, you could leave it like that. When a new job is submitted to the queue, you have the time to gather the information from that job and after that you can release it. I don't know if it's possible but if the queue can be configured so that every new job is paused by default, then you could do the release per job. That would be more reliable.
The need to optimize rises from a bad design.My articles[^]
-
You could have a look at PrintServer Class[^] and PrintQueue Class[^]
The need to optimize rises from a bad design.My articles[^]
-
but due to there is no event to handle, should i run and get the printer queue, in an infinite loop? :omg:
-
hi , i am going to create a counter app, to count the number of pages the user printed, no matter where to print(for example from office or notepad or paint and... just print!) is there any way? is there any unmannaged code?
You can monitor the printer as per this article[^]
'--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd