Error event

The Error event is fired when an error occurs in the Message Capture OCX during the communication with the printer.
The parameter of this event is the error code. The error code can have one of the following values:

Value

Description

0

The ChangeDevmode event was not processed within the timeout by the application which uses the Message Capture OCX.

1

Message Capture OCX failed to write the printer pipe.

2

Message Capture OCX failed to read the printer pipe.