Unlocking Special LEAD OCR Features
LEAD OCR offers a variety of features, such as OCR engine, PDF, OMR, and ICR, which are all locked. To unlock these features, purchase the desired module and obtain an unlock key.
Unlocking the OCR Engine
Before start using the OCR toolkit, the OCR engine must be unlocked by calling L_UnlockSupport function with passing L_SUPPORT_OCR_PROFESSIONAL for OCR professional, L_SUPPORT_OCR_XXX for OCR Plus to uType parameter and valid key to pKey parameter. If it is locked, all OCR functions will return ERROR_DOC_LOCKED.
Unlocking the PDF Feature
Note: This module adds-on to the OCR module. The OCR engine must be unlocked before you can unlock this module.
OCR professional
To unlock the PDF feature, call the L_UnlockSupport function with passing L_SUPPORT_OCR_PROFESSIONAL_PDF_OUTPUT to uType parameter and valid key to pKey parameter. If you are using one of the following output formats with locked PDF feature, ERROR_DOC_OUTPUT_PDF_LOCKED will be returned:
DOC2_PDF
DOC2_PDF_IMAGE_SUBSTITUTES
DOC2_PDF_IMAGE_ON_TEXT
DOC2_PDF_EDITED
OCR Plus
To unlock PDF OCR features, call L_UnlockSupport, pass L_SUPPORT_OCR_PLUS_PDF_OUTPUT to the uType parameter, and pass a valid key to the pKey parameter. If you are using one of the following output formats with PDF features locked, affected functions will return ERROR_DOC_OUTPUT_PDF_LOCKED:
DOC_PDF
DOC_PDF_IMAGE_SUBSTITUTES
DOC_PDF_IMAGE_ON_TEXT
DOC_PDF_IMAGEONLY
DOC_PDF_EDITED
DOC_REC_PDF_IMAGE_ON_TEXT
Unlocking the OMR Feature For OCR professional
Note: The OCR engine must be unlocked before unlocking OMR.
To unlock the OMR feature, call the L_UnlockSupport function. passing L_SUPPORT_LEAD_OMR to the uType parameter and a valid key to the pKey parameter. If you are using one of the following functions and the OMR feature is locked, ERROR_DOC_OMR_LOCKED will be returned:
RECOGMODULE_OMR flag
FILL_OMR flag
Unlocking the OMR Feature For OCR Plus
Note: This module adds-on- to the OCR module. The OCR engine must be unlocked before you can unlock this module.
To unlock OMR features, call L_UnlockSupport, passing L_SUPPORT_LEAD_OMR to the uType parameter, and passing a valid key to the pKey parameter. If you are using one of the following output formats with OMR features locked, the affected functions will return ERROR_DOC_OMR_LOCKED:
RECOGMODULE_OMR flag
FILL_OMR flag
Unlocking the ICR Feature For OCR Professional
Note: The OCR engine must be unlocked first.
To unlock the ICR feature, call the L_UnlockSupport function with passing L_SUPPORT_ICR_PROFESSIONAL to uType parameter and valid key to pKey parameter. If you are using one of the following with locked ICR feature, ERROR_DOC_ICR_LOCKED will be returned:
FILL_HANDPRINT flag
RECOGMODULE_HAND_PRINTED_NUMERAL flag
RECOGMODULE_RER_PRINTED flag
Unlocking the ICR Feature for OCR Plus
Note: This module adds-on to the OCR module. The OCR engine must be unlocked before you can unlock this module.
To unlock ICR features, call L_UnlockSupport, pass L_SUPPORT_ICR_PLUS to the uType parameter, and pass a valid key to the pKey parameter. If you are using one of the following output formats with ICR features locked, affected functions will return ERROR_DOC_ICR_LOCKED:
FILL_HANDPRINT flag
RECOGMODULE_HAND_PRINTED_NUMERAL flag
RECOGMODULE_RER_PRINTED flag
See Also