LinePrinter.WarningMessageEventEx Event

An event for notifying applications of recoverable errors that have occurred. If a recoverable error occurs and an WarningMessageEventHandler has not been implemented, the LinePrinter class will abort the remaining print operations and fire a Status message of SM_Cancel.

To implement a handler, add the following code to your application:

LinePrinter.WarningMessageEventEx += new LinePrinter.WarningMessageEventHandler(WarningHandler);

Syntax

[Visual Basic]
Public Event WarningMessageEventEx As WarningMessageEventHandler
[C#]
public event WarningMessageEventHandler WarningMessageEventEx;

More Information

LinePrinter Class