InvoiceScanError event

This event fires when scanner encounters an error such as:

  • Paper jam
  • Out of paper
  • Batch limit reached

Syntax

Public Function InvoiceScanError() As Long

None.

evtOK

Continues normally and displays user dialog.

evtOKAbort

Terminates the job without displaying a user dialog.

evtError

Continues normally and displays user dialog.

Can be used to bypass the user dialog and restart the job. Can also be used to signal a scan error that is to be handled manually Return EV_OK and use the Scan dialog to handle the situation.

Related topics

InvoiceScan event

InvoiceScanned event