PRB: GetCharWidth Function in Printer Driver Is Never Called

ID Number: Q72134

3.00 3.10

WINDOWS

Summary:

SYMPTOMS

When a printer driver that defines the GetCharWidth, ExtTextOut,

and FastBorder functions is installed in Microsoft Windows versions

3.0 or 3.1, these functions in the driver are never called by the

Windows graphics device interface (GDI).

CAUSE

In the driver's GDIINFO data structure, the RC_GDI20_OUTPUT bit is

not set in the dpRaster field.

RESOLUTION

Set the proper bits in the dpRaster field of the GDIINFO structure.

Additional reference words: 3.00 3.10 DDKPRINT