|
|
Retruns true if the printer which this job is queued against job is offline
[Visual Basic] Public ReadOnly Property Offline As Boolean [C#] public bool Offline {get;} [C++] public: __property bool get_Offline(); [JScript] public function get Offline() : boolean;
Retruns true if the printer which this job is queued against job is offline
[Visual Basic] The following example prints the status of a job to a trace
[Visual Basic]
Public Sub TraceStatus(ByVal pjIn As PrintJob)
With pjIn
Trace.WriteLine("** In Error? " & .InError.ToString)
Trace.WriteLine("** Off Line? " & .Offline.ToString)
Trace.WriteLine("** Out of paper? " & .PaperOut.ToString)
Trace.WriteLine("** User intervention required? " & .UserInterventionRequired.ToString)
End With
End Sub
Namespace: PrinterQueueWatch
Platforms: Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
PrintJob overview , All PrintJob members