LEADTOOLS Virtual Printer (Leadtools.Printer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
JobEvent Event
See Also 
Leadtools.Printer Namespace > Printer Class : JobEvent Event



The JobEvent Event is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Provides the listening application with print job information for each print job received by the Virtual Printer.

Syntax

Visual Basic (Declaration) 
Public Event JobEvent As EventHandler(Of JobEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As Printer
Dim handler As EventHandler(Of JobEventArgs)
 
AddHandler instance.JobEvent, handler
C# 
public event EventHandler<JobEventArgs> JobEvent
C++/CLI 
public:
event EventHandler<JobEventArgs^>^ JobEvent

Event Data

The event handler receives an argument of type JobEventArgs containing data related to this event. The following JobEventArgs properties provide information specific to this event.

PropertyDescription
JobEventState (Read only) Gets the current job state.
JobID (Read only) Gets the current job id.
PrinterName (Read only) Gets the name of the printer that generated the event.

Example

Refer to Printer.Specifications example.

Remarks

The event handler receives an argument indicating if the specified job was started or ended as well as other print job information.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Printer requires a Printer module license and unlock key. It is included as part of LEADTOOLS Document Imaging Enterprise. For more information, refer to: Imaging Pro/Document/Medical Features