IBM AS/400 Service


Technical Document



Document Number - 8064922
____________________________________________________________

Functional Area:

Print

Product:

Operating System/400 - OS/400 - PRINT/SPOOL (5716SS1SP)
Operating System/400 - OS/400 - PRINT/SPOOL (5763SS1SP)

Release:

ALL

Last Update:

10/03/97

____________________________________________________________

TITLE: ... Creating and Using Downloadable Fonts on the AS/400


Creating and Using Downloadable Fonts on the AS/400 

1.0

Getting Fonts on the System from a PC

This section applies to customers who have purchased the PSF/2 Program Product.

There are two methods for getting fonts onto an AS/400 from a PC.

Method 1

On the PC, use
Type Transformer to store fonts into the AS/400 library of your choice. The PC fonts are outline fonts which are converted to raster for use on the AS/400. PC Support/400 is required if you are using Type Transformer to place the fonts on the AS/400.

Method 2

1) On the PC

Transfer raster fonts from the PC to the AS/400. This is for the case where: (a) Type Transformer is used to rasterize outline fonts but not transfer them (a customer uses another PC for that purpose), or (b) the customer wishes to move the PSF/2-shipped raster fonts to their AS/400.

Move the font to the drive used by PC Support/400. The font is now in an AS/400 folder. You are now finished with the PC part of this task. The next part of the process takes place on the AS/400.

2) On the AS/400

a) Create a physical data file with LVLCHK(*NO). Record length is not critical.

b) Move the font to a physical data file member using the
CPYFRMPCD command specifiying TRNTBL(*NONE) and TRNFMT(*NOTEXT).

c) Create a font object using the
CRTFNTRSC command. The font is now ready for use.

d) The physical data file member (or the file itself) need not be kept on the system after the font has been created by
CRTFNTRSC. They may be deleted.

2.0

Verifying the Resolution of a Font Character Set

o Use the
WRKFNTRSC command to find the desired character set. (WRKFNTRSC can also be used to find code pages and coded fonts).

o If the character set is found, use option 5 (Display attributes) to display the pel density.

3.0

Using Fonts (Coded Fonts, Character Sets, and Code Pages)

3.1

Finding Fonts

For a referenced font without a library qualifier to be found by the printer writer, one of the following conditions must be met:

1) The font must be in a job's (interactive or batch) library list when the spooled file is created or received from another system. Note that when a spooled file is received from another system, the library list is constructed when the file is placed onto an output queue. Even if a spooled file is received from another AS/400, the original library list is purged and a new library list is constructed. Chapter 10 in the
AS/400 Guide to Programming for Printing, SC41-8194, explains library list construction.

2) The font must be in one of the "font" libraries (see "System font libraries" below).

Fonts (and overlays and page segments) with a library qualifier do not need to be in the user's library list. Performance will be improved if a library qualifier is used, because the printer writer need not search the spooled file's library list in search of a resource. The trade off is that you may need to change applications and/or printer files (including DDS source) if resources are moved to different libraries.

If you get a PQT.... message indicating that a character set could not be found, yet you are certain that the character set is in the spooled file's library list (or in one of the QFNT.. libraries mentioned below in "System font libraries"), chances are that the printer writer cannot find a character set with the resolution required for the printer. Use the
WRKFNTRSC command as explained in "Verifying the resolution of a font character set" on page 5 to verify the resolution of the character set.

3.2

System Font Libraries

The
font libraries are:

1) QFNTCPL

This library is shipped with the operating system. The library contains the 240-pel compatibility set of fonts.

2) QFNT01-QFNT19

QFNT01-QFNT15 will be used if one purchases and installs the AS/400 font licensed program products.

3) QFNT61-QFNT69

QFNT61-QFNT65 will be used if one purchases and installs the AS/400 DBCS font licensed program products.

There are no restrictions placed on these libraries. When a printer writer is started, the writer determines which of the above-mentioned libraries are on the system. These libraries are appended to the user's library list associated with each spooled file. The printer writer will search these libraries after searching through the library list of the user who submitted the spooled file.

So if you add any of these libraries to your system, the printer writer must be terminated and then restarted in order that the printer writer knows of the existence of these libraries.

3.3

Making Fonts Available to Users

There are several ways to make fonts available on a system-wide basis. Since each customer's environment is different, the customer must decide what is appropriate for their installation. Examples are given below.

1) Add the name(s) of the libraries containing the fonts to system values QSYSLIBL or QUSRLIBL.

2) Use the
CHGSYSLIBL command to modify the system portion of a library list.

3) Use the
ADDLIBLE command either in a STARTUP program or when logged on to modify the user portion of a library list.

4) For batch jobs, make certain the required libraries are in the job's library list.

5) Store the fonts in one of the "font" libraries listed in item 2. These libraries do not have to be added to any library list or system value.

If a customer were to purchase RPQ Program 5799-FDK, then they may choose to place the fonts into one of the "font" libraries. The RPQ contains 240 and 300 pel versions of the Core fonts and 300 pel versions of the Compatability fonts.

One may want to set up a separate library for 300-pel character sets. 240-pel and 300-pel character sets with the same names cannot be stored in the same library.

If a user wishes to restrict access to specific libraries of fonts or individual fonts, then normal AS/400 security controls may be used.


Document Info

Related APARs/PMRs:

Keywords:

____________________________________________________________
IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright (c) 1994, 1995, 1996, 1997 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.