Display Coded Font (DSPCDEFNT)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Display Coded Font (DSPCDEFNT) command displays a coded font from the specified library. The font character set (FCS) and code page pairs are displayed along with the indication whether they are marked as resident in the printer or need to be downloaded by the system.

The Font character set (FNTCHRSET) parameter allows you to find all coded fonts that contain a particular font character set within it. The user would specify this parameter when they change a FCS and do not know which coded fonts the FCS is referenced in. You need to specify CDEFNT(*FNTCHRSET) and FNTCHRSET(font-character-set) to get this information displayed.

Refer to Printer Device Programming, SC41-5713 for information on marking font character set and code pages as resident in the 3130 printer.

Restrictions:

Top

Parameters

Keyword Description Choices Notes
CDEFNT Coded font Qualified object name Required, Positional 1
Qualifier 1: Coded font Name, *FNTCHRSET
Qualifier 2: Library Name, *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR, *DBCSFNTLIB
OUTPUT Output *, *PRINT Optional
FNTCHRSET Font character set Name Optional
Top

Coded font (CDEFNT)

Specifies the coded font to be displayed.

Qualifier 1: Coded font

*FNTCHRSET
All coded fonts which contain the font character set specified for the Font character set (FNTCHRSET) parameter are to be displayed.
name
Specify the name of the coded font to be displayed.

Qualifier 2: Library

*LIBL
Search all libraries in the job's library list until the first match is found.
*CURLIB
Search only the current library for the job. If no library is specified as the current library for the job, QGPL is used.
*USRLIBL
Search only the libraries listed in the user portion of the job's library list.
*ALLUSR
Search all user libraries.
*ALL
Search all libraries in the system, including QSYS.
*DBCSFNTLIB
Search the double-byte character set (DBCS) font libraries QFNT61, QFNT62, QFNT63, QFNT64, and QFNT65.
name
Search the specified library.
Top

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

*
The output is displayed (if requested by an interactive job) or printed with job's spooled output (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.
Top

Font character set (FNTCHRSET)

Specifies the font character set to be searched for in the coded font objects. All coded fonts which contain the specified font character set are to be displayed or printed. A value must be specified for this parameter if *FNTCHRSET is specified for the Coded font (CDEFNT) parameter.

name
Specify the name of the font character set to be searched for.
Top

Examples

Example 1: Display a Coded Font

DSPCDEFNT  CDEFNT(QFNT61/X0G16B)

This command displays the coded font X0G16B in library QFNT61. The display will show font character set and code page pairs within the coded font and whether they are marked as resident.

Example 2: Display Coded Fonts that contain Font Character Set

DSPCDEFNT  CDEFNT(*ALL/*FNTCHRSET)  FNTCHRSET(C0G16F60)

This command displays all the coded fonts (searches all libraries) that contain the font character set C0G16F60. Because this can be a CPU intensive search, it is recommended that it be run in batch mode.

Top

Error messages

Unknown
Top