Obtaining a list of printer-resident fonts

Most PostScript printers come equipped with fonts resident in the printer ROM. Some printers have a disk on which additional fonts are stored.

A list of the Type 1 fonts in ROM or on disk of an attached PostScript printer can be obtained from the printer manufacturer's documentation. For PostScript printers attached through a serial port, a list of these fonts can also be generated using the postio command and a PostScript program, romfonts.ps.

To obtain a list of printer-resident fonts for a PostScript printer attached to a serial port, do the following:

  1. Obtain the device on which the PostScript printer is connected:
    lpstat -v
    Given a system on which the PostScript printer prlocal is attached through a serial port, this command would return output similar to the following:
      device for prlocal: /dev/tty01

    This output shows the printer to be attached on device /dev/tty01.

  2. As root user, run the following command:
    cd /usr/lib/lp/postscript
  3. As root user, run the following command:
    postio -L /tmp/postio.o -l /dev/tty01 -t romfonts.ps
    For our sample prlocal printer, this will produce output in the file /tmp/postio.o that looks similar to the following:
    	   printer startup
    	   %%[ status: waiting; source: serial 25 ]%%
    	   %%[ status: endofjob ]%%
    	   %%[ status: idle ]%%
    	   sending file romfonts.ps
    	   waiting for end of job
    	   %%[ status: busy; source: serial 25 ]%%
    	   /AGaramond-Bold
    	   /AGaramond-BoldItalic
    	   /AGaramond-Italic
    	   /AGaramond-Regular
    	   /AvantGarde-Book
    	   /AvantGarde-BookOblique
    	   /AvantGarde-Demi
    	   /AvantGarde-DemiOblique
    	      . . . more PostScript font
    names . . .
    	   /ZapfChancery-MediumItalic
    	   /ZapfDingbats
    	   %%[ status: endofjob ]%%
    	   job complete
    

    This example lists the printer-resident fonts for the prlocal printer.