On the print server or the print client, become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Create the hostfontdir directory.
# cd /usr/share/lib
Create a directory for a new typeface, if the directory does not already exist.
# mkdir typeface
Copy the font file to the appropriate directory.
# cp filename /usr/share/lib/hostfontdir/typeface/font
Add to the map file the name of the font and the name of the file in which it resides.
Change to the /usr/share/lib/hostfontdir directory.
Edit the map file by using a text editor such as the vi editor.
Add a one-line entry for each font that you want to add to the file. Put the font name first, followed by a space, followed by the name of the file where the font resides. For example:
Save the file.
When an example entry exists in the map file on the appropriate system, users can apply the font (for example, Palatino Bold) to their print jobs. When users submit a print request that contains this font, the LP print service appends a copy of the /usr/share/lib/hostfontdir/palatino/bold file to that file before sending it to the printer.
If you are using the troff program, you must create new width tables for this font in the standard troff font directory.