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

Thread: PrinterQueueWatch .NET component

  1. #1
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    PrinterQueueWatch .NET component

    The PrinterQueueWatch .NET component from Merrion Computing Ltd is a .NET component which allows you to monitor and administer the print queue from VB.Net, C# or any of the .NET environments.

    In addition it provides detailed information about jobs submitted to a print spooler, such as the user name, number of pages, orientation, file name and so on. Using this component it is possible to build powerful print job tracking applications in a very short timescale.

    Time limited license trial version available from : here

    All feedback appreciated,
    Sláinte,
    Duncan

  2. #2
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173
    New version 1.6.

    Allows fine tuning of the monitor component - so if you aren't interested in a particular event you don't get notified about it - and raises events for printer status changes as well as job events.
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  3. #3
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173
    New in release 1.7
    + Added structured exception handling for printer exceptions:
    + New class InsufficentPrinterAccessRightsException for attempt to access printer functionality beyond the rights of the logged in user
    + New class InsufficentPrintJobAccessRightsException for attempt to access print job functionality beyond the rights of the logged in user
    + Collection class PrintJobs made to support the VB.Net For Each .. Next syntax
    + PrintJob members made read/write:
    + Document - The document name reported to the spooler
    + Position - The job position in the print queue (only administrators can change this)
    + NotifyUserName - The user to send printer alerts to
    + Priority - The priority of this print job
    + PrinterInformation members made read/write
    + Comment - The text comment for the printer
    + Location - The location text for the printer
    + SeperatorFilename - The file used as a job seperator
    + Priority - The default priority assigned to jobs queued on this printer
    - Removed PrintJob.IsEditable as this is no longer needed
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  4. #4
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173
    New release available.

    Changes:
    ========

    * New class PrinterDriver added to give additional information about the drivers on a system and attached to a given printer

    * Print job events are now asynchronous. This means that the print spooler will not be stalled while your applicvation processes the printer monitoring events

    * New method: PrintJob.Commit which writes changed print job information to the spooler
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  5. #5
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173
    Minor update (release 1.8.8*)
    Allows a clean closedown of the print monitoring component if the parent application is terminated, plus added another demonstration project showing how to use the component in a windows service.
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  6. #6
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726
    you're great.

    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  7. #7
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: PrinterQueueWatch .NET component

    Sorry to revive a really old thread but you might be interested to know that the component is now open source and royalty free...enjoy.
    Last edited by Clearcode; September 28th, 2006 at 10:14 AM.
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  8. #8
    Join Date
    Nov 2006
    Posts
    1

    Re: PrinterQueueWatch .NET component

    Hi, do you know where can I find documentation about how to use this component?

    I'm trying to write a small app to use it. Basically I have a set of items to print. I'll send them to the spooler but I want to update them on the app to Printed status only after the printer actually printed the item. Do you think I'll be able to do it with this component?

    Thanks in advance
    Daniel

  9. #9
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: PrinterQueueWatch .NET component

    Do you think I'll be able to do it with this component?


    Yup - in the JobWritten() event if e.Job.Printed = True then update your printed status to true.
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  10. #10
    Join Date
    Jan 2008
    Posts
    1

    Question Re: PrinterQueueWatch .NET component

    The component is giving error (exception) while using with IPP printer like:
    .AddPrinter("http://Server_name/printers/Printer_Name/.printer");

    Any help in this regard?

  11. #11
    Join Date
    Apr 2004
    Posts
    2

    Re: PrinterQueueWatch .NET component

    I get an exception when i try to get data from a shared printer. any ideas?

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center