Skip to main content

TCustomdxComponentPrinter.OnPrintDeviceError Event

Occurs when the printing device is not available (for example, disconnected).

Declaration

property OnPrintDeviceError: TdxPrintDeviceProblemEvent read; write;

Remarks

Handle this event to perform specific actions when any problem occurs with printing device. For instance, this event can be used to prevent the display of exception messages when printer is disconnected while report printing. The ADone parameter determines whether the OnPrintDeviceError event handler entirely processes the operation. If this parameter is True, the default procedure is not called. Otherwise, an exception is raised.

See Also