PrinterDriver Class

Represents a single job in a printer spool queue.

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


[Visual Basic]
Public Class PrinterDriver
public class PrinterDriver 
public __gc class PrinterDriver 
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.


The PrinterDriver class provides information about the printer driver of a given printer



[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


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.