Supporting Device Fonts

Important

The modern print platform is Windows' preferred means of communicating with printers. We recommend that you use Microsoft's IPP inbox class driver, along with Print Support Apps (PSA), to customize the print experience in Windows 10 and 11 for printer device development.

For more information, see Modern print platform and the Print support app design guide.

If a printer provides device fonts, the printer graphics DLL must define a DrvTextOut function to generate text output commands. The graphics DLL must also define the following functions:

DrvQueryAdvanceWidths

DrvQueryFont

DrvQueryFontData

DrvQueryFontTree

For more information about supporting device fonts, see Supporting Graphics DDI Font and Text Functions.