PrinterDriver Class

Represents a single job in a printer spool queue.

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

System.Object
   System.MarshalByRefObject
      PrinterQueueWatch.PrinterDriver

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

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 PrinterDriver class provides information about the printer driver of a given printer

Example

Example

[Visual Basic] The following example prints the PrinterDriver of a given printer to a trace

[Visual Basic] 
Public Sub TracePrinterDriver(ByVal DeviceName As String)

        Dim piIn As New PrinterInformation(DeviceName)
        Trace.WriteLine(Devicename & " PrinterDriver: " & piIn.PrinterDriver.ToString)

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

© 2003 Merrion Computing Ltd. All rights reserved.