What GRID files ship with InfoPrint?

InfoPrint ships four GRID files that you can customize for use with the types of printer devices that you use and the types of jobs that you print. These files are charset.grd.sample, codepage.grd.sample, cpgid.grd.sample, and fgid.grd.sample, and they are installed in the /usr/lpp/psf/grd directory.

Note: You can either shut down and restart the InfoPrint server (pdserver process) or shut down and restart all your printers to make sure that .grd file changes are applied.

This section describes each file:

charset.grd.sample
Specifies which printer-resident fonts are activated for the character-set names found in the data stream of the job.

This file maps the font character-set name to a:

  • Font global identifier (fgid)
  • Graphic character set global identifier (gcsgid)
  • Font width
  • Vertical size value
  • Set of font attributes (bold, italic, and doublewide)
Sample file for a character set shows an example of the format of a line in the character set sample file.

Sample file for a character set

#  FCS name ->  fgid  gcsgid  width  vsize attr                    #
#******************************************************************#
   C0L00GSC     398     -      96     120   -  # GOTHIC CONDENSED  1
codepage.grd.sample
Specifies which printer-resident fonts are activated for the code page names found in the data stream of the job.

This file maps a code page to the:

  • Code page global identifier (cpgid)
  • Graphic character set global identifier (gcsgid)
Sample file for a code page shows an example of the format of a line in the code page sample file.

Sample file for a code page

#  code page name  ->  cpgid   gcsgid                              #
#******************************************************************#
       T1000038           38    123   # US-ASCII Character Set     1
fgid.grd.sample
Specifies which font character set InfoPrint should download when substituting for a global resource identifier that it finds in the data stream of the job.

This file maps these to a font character set (FCS) name:

  • A font global identifier (fgid)
  • A graphic character set global identifier (gcsgid)
  • A font width
  • A vertical size value
Sample file for a global identifier shows an example of the format of a line in the font global identifier sample file.

Sample file for a global identifier

#  fgid   gcsgid  width   vsize -> FCS name                        #
#******************************************************************#
      3        0    144      240   C0E0DE10  # DELEGATE 12 POINT   1
cpgid.grd.sample
Specifies which code page InfoPrint should download when substituting for a global resource identifier that it finds in the data stream of the job.

This file maps a code page global identifier and a graphic character set global identifier to a code page name. Sample file for a code page identifier shows an example of the format of a line in the code page identifier sample file.

Sample file for a code page identifier

#  cpgid  gcsgid  ->  code page name                               #
#******************************************************************#
      29       0      T1V10871  # OLD ICELANDIC                    1

For a detailed explanation of how the different types of identifiers combine to produce fonts, see InfoPrint Fonts: Font Summary

If you have a job that specifies a font that is not resident on your printer, you can use the GRID files to map the missing font to one with the same point size that does reside on your printer. To understand what fonts your printer device has, see your printer documentation.