Attributes for downloaded 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.

The following table lists attributes describing the printer's support for downloaded fonts.

Attribute name Attribute parameter Comments
DLSymbolSet Constant that represents the symbol set to be used when downloading TrueType fonts. Can be either PC-8 or ROMAN-8. Optional. If not specified, the glyph range is assumed to be contiguous within limits specified by *MinGlyphID and *MaxGlyphID.
FontFormat Constant value indicating the type of downloading supported. Must be one of the following:<br
HPPCL
HPPCL_RES
HPPCL_OUTLINE
OEM_CALLBACK
Required if the printer can download fonts. If OEM_CALLBACK is specified, font callback functions must be provided. For more information about these callbacks, see Customizing Microsoft's Printer Drivers.
MaxFontID Numeric value representing the maximum identifier for soft fonts. Optional. If not specified, the default value is 65535.
MaxGlyphID Numeric value representing the maximum identifier for downloaded font glyphs. Optional. If not specified and *DLSymbolSet is not specified, the default value is 255. Ignored if *DLSymbolSet is specified.
MaxNumDownFonts Numeric value representing the maximum number of soft fonts that can be stored in printer memory at one time. Optional. If not specified, Unidrv assumes an unlimited number of soft fonts can be stored.
MinFontID Numeric value representing the minimum identifier for soft fonts. Optional. If not specified, the default value is one.
MinGlyphID Numeric value representing the minimum identifier for downloaded font glyphs. Optional. If not specified and *DLSymbolSet is not specified, the default value is 32. Ignored if *DLSymbolSet is specified.
TextHalftoneThreshold Numeric value that determines whether Unidrv performs text halftoning for TrueType fonts. If the driver's resolution is greater than or equal to the value specified in this attribute, Unidrv halftones text. Optional. The default value is 600.