3.4. Verifying the existence of fonts

Normally if the printer has sufficient memory, the download will be successful. You usually won't need to worry about the memory issue. To verify that the font is residing in the printer, you can write some code which selects the font and prints a couple of lines of text. High end printer model usually has a LCD control panel that provides a way to print the PCL font list. If a LCD panel is on the printer, you can do the following to print a PCL font list, and check the font name against the list:

  • Press the ENTER/MENU key on the control panel.

  • Use the > or < key to select Reports and press ENTER/MENU.

  • Use the > or < key to select PCL Font List and press ENTER/MENU. The printer exits the Menu settings and prints the list.

Although soft fonts can survive many PCL commands, they are residing in the RAM area, not the ROM. Therefore they are not able to survive a power loss. Thus, it is a good idea to download the font at each printing job. Our font size is very small (1K ~ 10K) and downloading only takes approximately 1 second. Each time the font downloaded will automatically overwrite the one downloaded earlier if the two fonts share the same Font ID.

The image below is taken from the actual print out on a HP LaserJet 2300 model.