GETFACENAME

short Escape(hdc, GETFACENAME, NULL, NULL,lpFaceName)

The GETFACENAME printer escape retrieves the face name of the current physical font.

Parameters

hdc

HDC Identifies the device context.

lpFaceName

LPSTR Points to a buffer of characters to receive the face name. This buffer must be at least 60 bytes in length.

Return Value

The return value is positive if the escape was successful. This value is zero if the escape is not implemented or negative if an error occurred.

Comments

This escape is used only by PostScript printer drivers.