5.1 Printer-Font Installation

The HP LaserJet printer driver that uses PCL starts the Printer Font Installer whenever the user chooses the Fonts button in the driver's Setup dialog box. If the user then chooses the Add Font button to add fonts, the installer prompts for a disk containing the fonts to install as well as additional files.

The installer then searches the specified disk for the printer-font directory file (FINSTALL.DIR). If the file exists, it reads the file and installs the fonts specified in it. If there is no printer-font directory file, the installer performs the following actions:

If a file on the disk exists with the .LBL extension, the installer assumes the FINSTALL.DIR file is on another disk. It prompts the user to switch disks, while allowing the user the option to read the disk without the directory file.

If there is no .LBL file or the user chooses the first option, the installer assumes the directory file does not exist. It then scans the disk looking for downloadable font files.

When the installer has to scan the disk for soft fonts, it opens each file on the disk and looks for the header of a downloadable font file. If it finds the header, it derives the font name and point size, and displays this to the user in the list box of soft fonts available for installation. When the font is installed, the installer will generate a PFM file from the downloadable font file. Without the FINSTALL.DIR file, it will ignore any PFM files already on the disk.