Registering Callback Functions

LEADTOOLS ePrint 5 C DLL provides several callback functions that allow the user to do the following:

Get a print job as an EMF data file or DIB.

Customize the ePrint user interface.

Get print job information.

Get the file save status.

These callback functions are:

EMFRGSPROC

RASRGSPROC

JOBINFOPROC

SAVESTATUSPROC

SHOWUIPROC

Before using these callback functions, they must first be registered using the L_EpnRegisterCallback function. The type of callback function to register is determined by the nType parameter of the L_EpnRegisterCallback function.

When the user no longer needs the callback functions to be fired, they should be unregistered by calling the L_EpnUnRegisterCallback function.