CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: Printers stuff

  1. #1
    Join Date
    Jul 2009
    Posts
    25

    Question Printers stuff

    Hi,
    The challenge is to know the number of print jobs ( number of pages printed ) completed by a particular PC during the day,taking into consideration that printer attached can be a LAN printer a parallel port printer or any other type or there can be more then 1 printers attached through all the available modes. Also it is possible that some print commands are canceled.
    Any help ? How to go about it ?
    Thanks.

  2. #2
    Join Date
    Jul 2009
    Posts
    25

    Re: Printers stuff

    NO one. wow

  3. #3
    Join Date
    Apr 2004
    Posts
    102

    Re: Printers stuff

    You may want to consider Simple Network Management Protocol (SNMP) which will allow you to query a printer for the page count.

    Take a look at this site.

  4. #4
    Join Date
    Feb 2005
    Posts
    2,160

    Re: Printers stuff

    I think the OP wants to determine a page count per user on a network. To implement this on a client's machine would require hooking the print driver on each machine and sending the statistics to some other server or keeping a log (that can be checked later) on each PC. Perhaps SNMP can determine this information; I don't know.

    I think a better approach would be to use logging on the print server. Most TCPIP print servers have logging capabilities which can probably accomplish most or all of the OP's needs.

  5. #5
    Join Date
    Jul 2009
    Posts
    25

    Re: Printers stuff

    Thanx BobS0327, but hooking printer driver seems a possible solution. Thankx hoxsiew.

  6. #6
    Join Date
    Apr 2004
    Posts
    102

    Re: Printers stuff

    Just another suggestion. You may want to take a look at this code for a printer monitor utility. Maybe you can modify it to meet your requirements.

    Here's the Link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured