Printer

  • Thread starter Thread starter Stanley
  • Start date Start date
S

Stanley

Hi all! I have a printer attached to my PC, and I share it to my LAN.
The problem is how can I know which computer print the document, and
how many pages they printed by using VB .Net! Thanks!
 
Stanley said:
I have a printer attached to my PC, and I share it to my LAN.
The problem is how can I know which computer print the document, and
how many pages they printed by using VB .Net!

Sime pointers:

WMI + 'Win32_PrintJob' (properties 'HostPrintQueue', 'Owner').
 
I still have some problem please help me! The problem is that when I
try to do WQL
"SELECT * FROM Win32_PrintJob" in a do-loop thread, it eat nearly 10%
of my CPU! So is there away to do the WQL statement when needed? Ex:
only when printer has activity! Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top