Modifying the charset and codepage GRID files

You can avoid having InfoPrint download fonts by adding font entries that map the font character set or code page that is most referenced in jobs to a global identifier for a resident font.

For example, if your jobs specify the Prestige 10-point font that is character set C0S0PR10, and that font is not available, you can map the Prestige 10-point font to a similar font that is either resident on your printer or available for InfoPrint to download to your printer. In this procedure, you map the Prestige 10-point font to Gothic 10-point font, character set C0D0GT10.

Perform these steps:

  1. From the AIX command line, change to the /var/psf/PrinterName directory, where PrinterName is the name of the InfoPrint actual destination representing the printer device.
  2. Create the charset.grd file from the charset.grd.sample file. Enter the command:
    cp /usr/lpp/psf/grd/charset.grd.sample charset.grd
  3. Using an AIX editor such as vi, edit the charset.grd file you just created. Copy this line for the Gothic 10-point printer-resident font and paste it at the end of the charset.grd file:
    C0D0GT10  40   - 144   240     #  GOTHIC TEXT 10
  4. Change the first entry in the copied line, in the FCS name column, to the character set identifier of the Prestige 10-point font that you want to map to the Gothic 10-point font. You can change the comment at the end of the copied line to identify the mapping change you are making.
    C0S0PR10  40   - 144   240     #  PRESTIGE 10 mapped to GOTHIC TEXT 10
  5. Search the remainder of the charset.grd file to make sure that it contains no other C0S0PR10 entries. A later entry of the same character set would replace the entry you just made.
  6. Save your changes and close the file.

To print jobs that specify the personal computer ASCII code page for Iceland, T1000861, but that code page is not available, you can map code page T1000861 to the personal computer multilingual code page for ASCII data, T1000850.

Perform these steps:

  1. From the AIX command line, change to the /var/psf/PrinterName directory, where PrinterName is the name of the InfoPrint actual destination representing the printer device.
  2. Create the codepage.grd file from the codepage.grd.sample file. Enter the command:
    cp /usr/lpp/psf/grd/codepage.grd.sample codepage.grd
  3. Using an AIX editor, such as vi, edit the codepage.grd file you just created. Copy this line for the personal computer multilingual code page for ASCII data and paste it at the end of the codepage.grd file:
    T1000850        850     980  # PC MULTILINGUAL
  4. Change the first entry in the copied line, in the code page name column, to the code page identifier of the personal computer ASCII code page for Iceland font that you want to map to the multilingual code page. You can change the comment at the end of the copied line to identify the mapping change you are making.
    T1000861        850     980  # ICELAND MAPPED TO MULTILINGUAL
  5. Search the remainder of the codepage.grd file to make sure that it contains no other T1000861 entries. A later entry of the same character set would replace the entry you just made.
  6. Save your changes and close the file.