Download Epson TM-J2000 Specifications
Transcript
3.23. BiMICRSetReadBackWnd [Function] Executes check reading by BiMICRReadCheck, registers the handle of a button which sends the button’s click event when the results are notified, and registers the memory addresses where each type of reading information is set. [Format] int BiMICRSetReadBackWnd( int nHandle, long hWnd, LPBYTE pReadBuffSize, LPBYTE readCharBuff, LPBYTE pStatus, LPBYTE pDetail) [Argument] int nHandle Specifies the handle value of the printer executing the operation. The return value in BiOpenMonPrinter() is specified. Long hWnd Specifies the button handle. Sends the click even to this button. LPBYTE pReadBuffSize Specifies the size of memory where the reading data are set. after this function is executed, the size of the actual reading data is set. LPBYTE readCharBuff Specifies the memory addresses where the reading data are set. LPBYTE pStatus Specifies a 1-byte memory address where the reading status is set. See the MICR reading status in 5.19, “BiMICRSetReadBackFunction” concerning the status that is returned. LPBYTE pDetail Specifies a 1-byte memory address that sets detailed information after a returned reading error in the case that addition of detailed information is specified by the BiMICRSelectDataHandlingfunction. See 5.19 “BiMICRSetReadBackFunction” concerning the MICR detailed information that is returned. [Return Values] If execution is successful, 0 is returned. If an error occurs, the following error codes (negative values) are returned. ERR_ HANDLE The handle value that specifies the printer is incorrect. ERR_NOT_SUPPORT Not supported by this printer. ERR_OFFLINE It was opened in the offline state, so it cannot be used until the online state is recovered. ERR_NOT_EPSON The printer is not an EPSON printer, so it cannot be used. ERR_PARAM Parameter error [Explanation] Acquires the MICR reading status of 5.19 “BiMICRSetReadBackFunction.” [Cautions] • Be sure to call this function before calling the BiMICRReadCheckfunction. An error will be returned if the BiMICRReadCheckfunction is called before this function is called. • Depending on the printer model (firmware version), the detailed information after there is a reading error may not be supported. In that case, nothing will be set. • If the reading data overflows, bit 6 of the MICR reading status goes ON (reading data overflow). [Supported Printers] TM-H6000, TM-H6000II, TM-U675, TM-H5000II, TM-J7000/7100 EPSON TITLE EPSON Advanced Printer Driver for TM series StatusAPI Reference Manual Revision No L NEXT SHEET 41 40