SetTextOutputFilterGlyphs

 

#include “BlackIceDEVMODE.h”

 

BOOL SetTextOutputFilterGlyphs (BlackIceDEVMODE* pBlackIceDevMode, BOOL bEnable)

Description

Some text is passed by the printing application to the printer driver as a series of glyph indexes of a font instead of regular characters. If this value is set to 0, the printer driver tries to convert these indexes to characters using the method defined by the “Glyph Conversion Method” value, but this is not guaranteed to work every time and may result in glyph characters appearing in the text output.

Enabling Filter glyph characters option will filter glyph indexes from the text output. When the filter glyph characters option is disabled, the printer driver will try to convert the glyphs to characters according to the selected Glyph Conversion Method.

Parameters

BlackIceDEVMODE* pBlackIceDevMode        - pointer to the BlackIceDEVMODE structure

BOOL bEnable        - Set to TRUE to filter the glyphs indexes from the text output, FALSE to convert them to characters.

Return value

TRUE on success, otherwise FALSE

Programming Notes

None

Code Example

None