Select your printer model [−]
- TM-m10
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m30III
- TM-m30III-H
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-T20II
- TM-T20III
- TM-T20IV
- TM-T20IV-SP
- TM-T82III
- TM-T82IV
- TM-T88VI
- TM-T88VII
- TM-L100
- TM-T70
- TM-T70II
- TM-T88IV
- TM-T88V
- TM-U220
- TM-U220II
- TM-U330
- TM-P20
- TM-P20II
- TM-P60II (Receipt)
- TM-P60II (Peeler)
- TM-P80
- TM-P80II
- TM-H6000V
- TM-T20II-i
- TM-T70-i
- TM-T82II-i
- TM-T83II-i
- TM-T88V-i
- TM-T88VI-iHUB
- TM-U220-i
- TM-U220IIB-i
- TM-T70II-DT
- TM-T70II-DT2
- TM-T88V-DT
- TM-T88VI-DT2
- TM-H6000IV-DT
- TM-T20
- TM-T82II
- TM-T83II
- TM-T90
- TM-L90
- TM-H6000IV
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
- Syntax
- Parameter
- Introduction
- help
- HybridPrinter2 object
- lock method
- unlock method
- selectPaperType method
- waitInsertion method
- cancelInsertion method
- ejectPaper method
- sendData method
- print method
- readMicrData method
- cleanMicrReader method
- recover method
- reset method
- startMonitor method
- stopMonitor method
- setMessage method
- getMessage method
- halftone property
- brightness property
- force property
- paperType property
- interval property
- waitTime property
- enable40cplMode property
- onreceive event