cfu utility: displays and builds coded fonts in InfoPrint Manager for AIX InfoPrint Manager for Linux

Syntax

cfu [-d | -b] CodedFontName [BuildFileName]

Description

cfu, the Coded Font Utility, displays and builds coded fonts for use with InfoPrint. The main purpose of the cfu utility is to allow users of double-byte raster fonts to indicate which font sections in the coded font should be downloaded to the printer and which font sections can be found resident in the printer. This is useful when:

  • You have added user-defined characters to a font section
  • The printer-resident version of a font differs from the system-resident version of a font, and you want to make sure that InfoPrint downloads the system version.
You can also add and delete sections from the coded font and change which character sets and code pages are referenced in the coded font.

You can also use the cfu utility to build single-byte coded fonts by specifying a font character set name and a code page name.

You can use the cfu utility in two ways:

  • In the display mode of the cfu utility, you provide a coded font name as input. The cfu utility generates a build file that can be used as input to the build mode of the cfu utility.
  • In the build mode of the cfu utility, you provide a build file name as input. The cfu utility generates a coded font.

Flags

The cfu utility uses these flags:

-d
Display mode displays the contents of a coded font. Output is written to standard output. This is the default mode if no flag is entered.
-b
Build mode builds a new coded font using the build file name, or standard input if the build file name is omitted.

Build file format

Each non-commented line in the build file defines one repeating group in the Coded Font Index structured field. Repeating group definitions can not span more than one line and fields in each line must be delimited with blanks. A pound sign (#) at the beginning of a line indicates a comment.

A repeating group definition has these format:

  • Field 1 is the section identifier of the repeating group. The format is X'hh', where hh is the hexadecimal section identifier. Both the X character and the single quotation marks are required.
  • Field 2 is the character set name. Only the first 8 characters are used.
  • Field 3 is the code page name. Only the first 8 characters are used.
  • Field 4 is the section resident indicator:
    1
    Use the printer-resident section if possible.
    0
    Download the section.
    Note: This field is only meaningful for double-byte raster fonts.

This is an example of a repeating group:

# SectId  CharSet   CodePage  Resident
# ------  -------   --------  ------
  X'41'   C0Z24F41  T1Z24F41    0

Arguments

The valid argument values for the cfu utility are:

CodedFontName
The name of the coded font for display mode or the new coded font name in build mode. cfu will not overwrite existing coded fonts in build mode.
Note: In build mode, the coded font name is also the internal coded font name in the Begin Coded Font structured field.
BuildFileName
The input file used to build a new coded font. If build file name is omitted, cfu reads from standard input.

Examples

  • To display the contents of the coded font X0Z24F, enter either of these commands:
    cfu X0Z24F
    cfu -d X0Z24F
  • To build a new coded font with the name X0Z24F using build file X0Z24F.bld, enter:
    cfu -b X0Z24F X0Z24F.bld

Suggested reading

See Data Stream and Object Architectures: Font Object Content Architecture Reference for more information about coded font structured fields.