PrinterInformation Class

Represents the information known to the operating system about a particular print device

For a list of all members of this type, see PrinterInformation Members.

System.Object
   System.MarshalByRefObject
      PrinterQueueWatch.PrinterInformation

[Visual Basic]
Public Class PrinterInformation
[C#]
public class PrinterInformation 
[C++]
public __gc class PrinterInformation 
[JScript]
public class PrinterInformation

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Remarks

The PrinterInformation class provides information about the setup of the printer being monitored

Example

The following example returns the PrinterInformation to get the location of the printer being monitored by the PrinterMonitorComponent

[Visual Basic] 
Private Function GetLocationText(ByVal pqmIn As PrinterMonitorComponent) As String

   Retrun pqmIn.PrinterInformation.Location

End Sub

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

© 2005 Merrion Computing Ltd. All rights reserved.