PrintJob.Printed Property

Retruns true if the print job has been printed

[Visual Basic]
Public ReadOnly Property Printed As Boolean
public bool Printed {get;}
public: __property bool get_Printed();
public function get Printed() : boolean;

Property Value

True if this print job has been printed



[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("** Paused? " & .Paused.ToString)
        Trace.WriteLine("** Deleted? " & .Deleted.ToString)
        Trace.WriteLine("** Deleting? " & .Deleting.ToString)
        Trace.WriteLine("** Printed? " & .Printed.ToString)
        Trace.WriteLine("** Printing? " & .Printing.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

See Also

PrintJob overview , All PrintJob members

© 2003 Merrion Computing Ltd. All rights reserved.