Commands 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 the commands for controlling downloaded fonts. All commands are specified using the command entry format.
Command | Description | Comments |
---|---|---|
CmdDeleteFont | Command to delete a soft font by specifying its identifier. | Optional. Specify this command only if a deleted font's allocated memory can be immediately reclaimed. |
CmdDeselectFontID | Command to deselect the current font ID in order to make the font inactive. | Optional. If not present, the current font does not need to be deselected when a new font is selected. |
CmdSelectFontHeight | Command to select the height of a downloaded font. | Optional. If not present, the printer does not support scalable, downloadable True Type outline fonts. This command is needed for HPPCL_OUTLINE format. |
CmdSelectFontID | Command to select the current font ID in order to make the font active. | Required if the printer supports downloaded fonts. |
CmdSelectFontWidth | Command to select the width of a downloaded font. | Optional. If not present, the width of the downloaded font is scaled proportionally its height. |
CmdSetCharCode | Command to specify the character code of the next character to be downloaded or deleted. | Required if the printer supports downloaded fonts. |
CmdSetFontID | Command to set the current font ID. | Required if the printer supports downloaded fonts. |