Select your printer model

Parameters are refined by the selected printer.

readMicrData method


Performs read by MICR.

Inserting a slip sheet after executing the readMicrData method starts the MICR read operation.

The execution result of the readMicrData method is passed to the callback function of onreceive event.

Syntax

 
readMicrData(ignoreerror, micrFont, timeout);

Parameter

ignoreerror

Value

Description

true

Continues processing by replacing an illegible character with "?".

false

Stops processing when an illegible character is encountered.

undefined

Specifies the default value (true).

micrFont

Value

Description

MICR_FONT_E13B

Specifies E13B as the read font.

MICR_FONT_CMC7

Specifies CMC7 as the read font.

undefined

Specifies the default value (E13B).

timeout

When an invalid value is specified, the default value will be used.

Value

Description

Integer from 5000 to 900000

Specifies the timeout period before completion of reading by MICR in milliseconds.

undefined

Specifies the default value (60000).

 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

Epson ePOS SDK includes patented or patent pending functions. The contents must not be disclosed to third parties.


Epson ePOS SDK for JavaScript

Jump to the top