Enable or Disable using Events

LEADTOOLS ePrint 5 COM provides several events that allow the user to do the following:

image\sqrblit.gif Get a print job as an EMF data file or DIB.

image\sqrblit.gif Customize the ePrint user interface.

image\sqrblit.gif Get print job information.

image\sqrblit.gif Get the file save status.

These events are:

EMFEvent event

RasterEvent event

JobInfoEvent event

ShowUIEvent event

SaveStatusEvent event

Before using these events, they must first be enabled using the:

EnableEMFEvent property, to enable firing the EMFEvent event.

EnableRasterEvent property, to enable firing the RasterEvent event.

EnableJobInfo property, to enable firing the JobInfoEvent event.

EnableShowUIEvent property, to enable firing the ShowUIEvent event.

EnableSaveStatusEvent property, to enable firing the SaveStatusEvent event.

Within the JobInfoEvent event, the user can get the job information using the following read-only properties:

GetUserName property

GetDocName property

GetPagesPrinted property

GetMachineName property

GetPrinterName property

GetJobID property