PrintJob Class

Represents a single job in a printer spool queue.

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


[Visual Basic]
Public Class PrintJob
public class PrintJob 
public __gc class PrintJob 
public class PrintJob

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 PrintJob control allows the user to monitor the job queue of a selected printer and react to jobs being added, removed, written or changed and to react to the


The following example pauses a PrintJob if it was sent by the user "DJones"

[Visual Basic] 
Private Sub PauseDJonesJob(ByVal pjIn As PrintJob)

   ' If the user is "DJONES"
   If pjIn.Username = "DJones" Then
      pjIn.Paused = True
   End If

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.