SetOCREnabled

#include “BlackIceDEVMODE.h”

 

BOOL SetOCREnabled(BlackIceDEVMODE* pBlackIceDevMode, BOOL bEnable)

Description

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

Parameters

BlackIceDEVMODE* pBlackIceDevMode        - pointer to the BlackIceDEVMODE structure

BOOL bEnable        - Set to TRUE to enable the OCR, set to FALSE to disable it.

Return value

TRUE on success, otherwise FALSE

Programming Notes

None

Code Example

None