private void ConfigureMulti() { // Base _mObjmfBase.Timeout = 0; CheckResponse(_mObjmfDevice.SCNMICRFunctionContinuously(_mObjmfBase, FunctionType.MF_GET_BASE_DEFAULT)); CheckResponse(_mObjmfDevice.SCNMICRFunctionContinuously(_mObjmfBase, FunctionType.MF_SET_BASE_PARAM)); // ScanFront CheckResponse(_mObjmfDevice.SCNMICRFunctionContinuously(_mObjmfScanFront, FunctionType.MF_GET_SCAN_FRONT_DEFAULT)); CheckResponse(_mObjmfDevice.SCNMICRFunctionContinuously(_mObjmfScanFront, FunctionType.MF_SET_SCAN_FRONT_PARAM)); CheckResponse(_mObjmfDevice.SCNSelectScanFace(ScanSide.MF_SCAN_FACE_FRONT)); //CheckResponse(_mObjmfDevice.SCNSetImageQuality(ColorDepth.EPS_BI_SCN_1BIT, 0D, Color.EPS_BI_SCN_MONOCHROME, ExOption.EPS_BI_SCN_SHARP)); CheckResponse(_mObjmfDevice.SCNSetImageQuality(ColorDepth.EPS_BI_SCN_8BIT, 0D, Color.EPS_BI_SCN_MONOCHROME, ExOption.EPS_BI_SCN_SHARP)); //CheckResponse(_mObjmfDevice.SCNSetImageFormat(Format.EPS_BI_SCN_TIFF)); CheckResponse(_mObjmfDevice.SCNSetImageFormat(Format.EPS_BI_SCN_JPEGLOW)); // ScanBack CheckResponse(_mObjmfDevice.SCNMICRFunctionContinuously(_mObjmfScanBack, FunctionType.MF_GET_SCAN_BACK_DEFAULT)); CheckResponse(_mObjmfDevice.SCNMICRFunctionContinuously(_mObjmfScanBack, FunctionType.MF_SET_SCAN_BACK_PARAM)); CheckResponse(_mObjmfDevice.SCNSelectScanFace(ScanSide.MF_SCAN_FACE_BACK)); //CheckResponse(_mObjmfDevice.SCNSetImageQuality(ColorDepth.EPS_BI_SCN_1BIT, 0D, Color.EPS_BI_SCN_MONOCHROME, ExOption.EPS_BI_SCN_SHARP)); CheckResponse(_mObjmfDevice.SCNSetImageQuality(ColorDepth.EPS_BI_SCN_8BIT, 0D, Color.EPS_BI_SCN_MONOCHROME, ExOption.EPS_BI_SCN_SHARP)); //CheckResponse(_mObjmfDevice.SCNSetImageFormat(Format.EPS_BI_SCN_TIFF)); CheckResponse(_mObjmfDevice.SCNSetImageFormat(Format.EPS_BI_SCN_JPEGLOW)); // Micr CheckResponse(_mObjmfDevice.SCNMICRFunctionContinuously(_mObjmfMicr, FunctionType.MF_GET_MICR_DEFAULT)); _mObjmfMicr.Font = MfMicrFont.MF_MICR_FONT_CMC7; _mObjmfMicr.MicrOcrSelect = MfMicrType.MF_MICR_USE_MICR; _mObjmfMicr.Parsing = false; CheckResponse(_mObjmfDevice.SCNMICRFunctionContinuously(_mObjmfMicr, FunctionType.MF_SET_MICR_PARAM)); // Operational settings when an error occurs // Process CheckResponse(_mObjmfDevice.SCNMICRFunctionContinuously(_mObjmfProcess, FunctionType.MF_GET_PROCESS_DEFAULT)); _mObjmfProcess.PaperType = MfPaperType.MF_PAPER_TYPE_OTHER; _mObjmfProcess.PaperMisInsertionErrorSelect = MfErrorSelect.MF_ERROR_SELECT_NODETECT; _mObjmfProcess.DoubleFeedErrorSelect = MfErrorSelect.MF_ERROR_SELECT_DETECT; _mObjmfProcess.BaddataErrorSelect = MfErrorSelect.MF_ERROR_SELECT_NODETECT; //Para que no fallen los cmc7 _mObjmfProcess.NodataErrorSelect = MfErrorSelect.MF_ERROR_SELECT_NODETECT; _mObjmfProcess.ActivationMode = MfActivateMode.MF_ACTIVATE_MODE_HIGH_SPEED; CheckResponse(_mObjmfDevice.SCNMICRFunctionContinuously(_mObjmfProcess, FunctionType.MF_SET_PROCESS_PARAM)); }