PrinterMonitorComponent Members

PrinterMonitorComponent overview

Public Constructors

public constructorPrinterMonitorComponent Constructor Initializes a new instance of the PrinterMonitorComponent class.

Public Properties

public propertyDeviceName Gets or sets a value indicating the unique device name of the printer being monitored. When this is set to the name of a printer the monitoring is initiated
public propertyMonitorPrinterChangeEvent Gets or sets a value indicating whether the component monitors for changes in the setup of the printer being monitored
public propertyMonitorJobAddedEvent Gets or sets a value indicating whether the component monitors for jobs being added to the queue of the printer being monitored
public propertyMonitorJobDeletedEvent Gets or sets a value indicating whether the component monitors for jobs being removed from the queue of the printer being monitored
public propertyMonitorJobWrittenEvent Gets or sets a value indicating whether the component monitors for jobs on the queue of the printer being monitored being written
public propertyMonitorJobSetEvent Gets or sets a value indicating whether the component monitors for jobs in the queue of the printer being monitored's properties being changed
public propertyPrinterInformation Gets the PrinterInformation class that describes the current state of the printer queue being monitored
public propertyPrintJobs Gets the current collection of PrintJobs in the queue of the printer being monitored, or the named printer if multiple printers are being monitored simultaneously
public propertyPrinterInformation Gets the printer information about the printer being monitored, or the named printer if multiple printers are being monitored simultaneously
public propertyThreadTimeout Sets the thread polling frequency of the printer monitor component (in milliseconds). The default value is 50.

Public Methods

public methodAddPrinter Adds a printer to the collection of printers being monitored
public methodRemovePrinter Removes a printer from the collection of printers being monitored

Public Events

public eventJobAdded Occurs when a PrintJob is added to the queue of a printer being monitored, so long as the MonitorJobAddedEvent property is not set to false
public eventJobDeleted Occurs when a PrintJob is removed from the queue of a printer being monitored, so long as the MonitorJobDeletedEvent property is not set to false
public eventJobWritten Occurs when a PrintJob on the queue of a printer being monitored is written, so long as the MonitorJobWrittenEvent property is not set to false
public eventJobSet Occurs when a PrintJob is changed while in the queue of a printer being monitored, so long as the MonitorJobSetEvent property is not set to false
public eventPrinterInformationChanged Occurs when the PrinterInformation of a printer being monitored changes

See Also

PrinterMonitorComponent Class