LEADTOOLS Virtual Printer (Leadtools.Printer assembly)
LEAD Technologies, Inc

JobEvent Event






Provides the listening application with print job information for each print job received by the Virtual Printer.
Syntax
public event EventHandler<JobEventArgs> JobEvent
'Declaration
 
Public Event JobEvent As EventHandler(Of JobEventArgs)
'Usage
 
Dim instance As Printer
Dim handler As EventHandler(Of JobEventArgs)
 
AddHandler instance.JobEvent, handler
public event EventHandler<JobEventArgs> JobEvent
add_JobEvent(function(sender, e))
remove_JobEvent(function(sender, e))

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 Gets the current job state.
JobID Gets the current job id.
PrinterName Gets the name of the printer that generated the event.
Remarks
The event handler receives an argument indicating if the specified job was started or ended as well as other print job information.
Example
Refer to Specifications example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Printer Class
Printer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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