SetOCREnabled

Enables or disables the OCR (Optical Character Recognition) feature of the printer driver. Please note that enabling the OCR feature will slow down printing.

SetOCREnabled(pDevMode As Long, bEnable As Boolean) As Boolean

 

Input value   - handle to the BlackIceDEVMODE structure

Input value   - Set to TRUE to enable the OCR, set to FALSE to disable it.

Return value            - TRUE on success, FALSE otherwise.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.