PrinterQueueWatch Overview

The PrinterMonitorComponent is a .NET component that allows you to monitor a printer spool queue and to respond when print jobs are added, changed, written or removed from it.

The first step is to decide which events you want the spooler to notify you of. By default all events are requested, but you can reduce the load on the system by switching off the events you are not interested in. For example, if you are not interested in the Job Written event then you set the MonitorJobWrittenEvent property to false.

Then set the component DeviceName property to the name of the printer to be monitored. Thereafter the component will raise events when the queue changes or when the settings of the printer are changed.

Additional information about the print job involved in the print queue events is provided by the PrintJob class and additional information about the printer from a printer change event is provided by the PrinterInformation class.

For more information on this or other related components, please visit the Merrion Computing Website

Requirements

Namespace: PrinterQueueWatch

Platforms: Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

Assembly: PrinterQueueWatch (in PrinterQueueWatch.dll)

See Also

Many of the settings in the PrintJob and PrinterInformation classes use the equivalent property from the System.Drawing.Printing Namespace

© 2003-2005 Merrion Computing Ltd. All rights reserved.