CL Command Reference - CHGCDEFNT

CL Command List > CHGCDEFNT Reference

Description:

The Change Coded Font (CHGCDEFNT) command allows the user to mark font character set and code page pairs referenced in the coded font as resident in the printer.

Restrictions:
. The Print Services Facility (PSF) feature is required to use this command.
. Font character set and code page pairs that are marked as resident will be downloaded to printers that do not support resident DBCS raster fonts.
. When marking fonts, the print writer must be stopped and re-started If fonts are marked while the writer is active, the changes may not take effect until the next time the writer is started. To be guaranteed that PSF uses the changed coded font, you must first end the print writer.


Examples:

Example 1: Mark All as Being Resident

CHGCDEFNT QFNT61/X0G16F FNTCHRSET(*ALL) RESFNT(*YES)

This command marks all the font character set/code page pairs as resident in the printer for coded font X0G16F in library QFNT61. No user defined sections will be downloaded.



Example 2: Mark Sections as Resident

CHGCDEFNT QFNT61/X0G16B FNTCHRSET(C0G16F4*) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16B FNTCHRSET(C0G16F50) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16B FNTCHRSET(C0G16F51) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16B FNTCHRSET(C0G16F52) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16B FNTCHRSET(C0G16F53) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16B FNTCHRSET(C0G16F54) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16B FNTCHRSET(C0G16F55) RESFNT(*YES)

This set of CHGCDEFNT commands marks all the font character set/code page pairs in sections 41 - 4F as resident and then marks sections 50 - 55 as resident.



Example 3: Mark Generic and Specific Font Character Set and Code Page Pairs

CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F4*) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F48) RESFNT(*NO)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F5*) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F60) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F61) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F62) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F63) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F64) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F65) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F66) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F67) RESFNT(*YES)
CHGCDEFNT QFNT61/X0G16F FNTCHRSET(C0G16F68) RESFNT(*YES)

This set of CHGCDEFNT commands marks all the font character set and code page pairs in sections 41 - 4F as resident; then marks section 48 to be downloaded. Sections 50 - 5F are marked as resident and sections 60 - 68 are marked as resident.