|
|
Gets the printer information for this printer event
[Visual Basic] Public ReadOnly Property PrintJob As PrintJob [C#] public PrintJob PrintJob {get;} [C++] public: __property PrintJob get_PrintJob(); [JScript] public function get PrintJob() : PrintJob;
Returns the PrintJob class that gives the setup and status information for the jobthat this print job event argument pertains to.
[Visual Basic, C#]
[Visual Basic]
Public Sub Addedtest(ByVal sender As Object, ByVal e As EventArgs) Handles PrinterMonitorComponent1.JobAdded
With CType(e, PrintJobEventArgs)
Debug.WriteLine(.PrintJob.Username & " added a job at " & .EventTime.ToString)
End With
End Sub
[JScript C++ C#] No example is available for JSCript, C# or C++. To view a Visual Basic example, click the Language Filter button
in the upper-left corner of the page.
Platforms: Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
© 2003 Merrion Computing Ltd. All rights reserved.