PRB: GetCharWidth() Function in Printer Driver Is Never Called

ID: Q72134


The information in this article applies to:
  • Microsoft Windows Device Development Kit (DDK) for Windows, versions 3.0, 3.1


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 dpRaster field of the GDIINFO structure to contain RC_GDI20_OUTPUT (0x0010h).

Additional query words: 3.00 3.10 DDKPRINT

Keywords :
Version : :3.0,3.1
Platform :
Issue type :


Last Reviewed: November 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.