874 lines
32 KiB
HTML
874 lines
32 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Add Font Table Entry (ADDFNTTBLE)</title>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body bgcolor="white">
|
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<a name="ADDFNTTBLE.Top_Of_Page"></a>
|
|
<h2>Add Font Table Entry (ADDFNTTBLE)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
|
<b>Threadsafe: </b>No
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#ADDFNTTBLE.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#ADDFNTTBLE.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#ADDFNTTBLE.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="ADDFNTTBLE"></a>
|
|
<p>The Add Font Table Entry (ADDFNTTBLE) command adds an entry in the specified font mapping table. This command adds an entry in the user font mapping tables used by Print Services Facility (PSF) that controls:
|
|
</p>
|
|
<ul>
|
|
<li>Host-resident to printer-resident font character set mapping
|
|
</li>
|
|
<li>Printer-resident to host-resident font character set mapping
|
|
</li>
|
|
<li>Host-resident to printer-resident code page mapping
|
|
</li>
|
|
<li>Printer-resident to host-resident code page mapping
|
|
</li>
|
|
<li>Printer-resident to printer-resident font substitution mapping
|
|
</li>
|
|
</ul>
|
|
<p>To override a mapping entry in the system font or code page mapping tables, add the new mapping entry to a user table. Mapping entries added to a user table override any corresponding entries in the system tables.
|
|
</p>
|
|
<p>When performing the printer to host and host to printer font mapping (first four tables above), PSF first searches the user tables for a match. If no match is found in the user mapping tables, PSF searches the appropriate system tables.
|
|
</p>
|
|
<p>PSF selects printer-resident fonts from the font mapping tables in the following order:
|
|
</p>
|
|
<ol>
|
|
<li>If the printer-resident font specified in the print job is supported by the printer, then it is used. The printer-resident to printer-resident font substitution table is not searched.
|
|
</li>
|
|
<li>If the printer-resident font specified in the print job is not supported by the printer, then the printer-resident to printer-resident font substitution table is searched.
|
|
<ol>
|
|
<li>If a matching entry is found in the printer-resident font substitution table and the entry is supported by the printer, then the specified substitute font in the printer-resident font substitution table is used.
|
|
</li>
|
|
<li>If a matching entry is not found in the printer-resident font substitution table or if the specified substitute font is not supported by the printer, then the system will use its internal font substitution tables to perform the font substitution.
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
</ol>
|
|
<p>Refer to Printer Device Programming, SC41-5713 for more information on font mapping tables.
|
|
</p>
|
|
<p><b>Restrictions:</b>
|
|
</p>
|
|
<ul>
|
|
<li>The PSF feature is required to use this command.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ADDFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="ADDFNTTBLE.PARAMETERS.TABLE">Parameters</a></h3>
|
|
<table border="1" cellpadding="4" cellspacing="0">
|
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
|
<tr>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#ADDFNTTBLE.FNTTBL"><b>FNTTBL</b></a></td>
|
|
<td valign="top">Font table</td>
|
|
<td valign="top">Single values: *PHFCS, *HPFCS, *PHCP, *HPCP<br>Other values: <i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Font table</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, *CURLIB, <b><u>*LIBL</u></b></td>
|
|
</tr><tr>
|
|
<td valign="top" rowspan="10"><a href="#ADDFNTTBLE.PHFCS"><b>PHFCS</b></a></td>
|
|
<td valign="top">Printer to host font</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="10">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Printer font</td>
|
|
<td valign="top">
|
|
<i>Element list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 1: Identifier</td>
|
|
<td valign="top">
|
|
1-65535</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 2: Width</td>
|
|
<td valign="top">
|
|
1-32767, *NONE, *PTSIZE</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 3: Attributes</td>
|
|
<td valign="top">
|
|
<b><u>*NONE</u></b>, *BOLD, *ITALIC, *BOLDITC, *DBLWIDE, *ITCDBLWIDE</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 4: Graphic character set</td>
|
|
<td valign="top">
|
|
<i>Integer</i>, <b><u>*SYSVAL</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 5: Point size</td>
|
|
<td valign="top">
|
|
1.0-999.9, <b><u>*WIDTH</u></b>, *NONE</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Host font</td>
|
|
<td valign="top">
|
|
<i>Element list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 1: Font character set</td>
|
|
<td valign="top">
|
|
<i>Name</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 2: Type</td>
|
|
<td valign="top">
|
|
<b><u>*RASTER</u></b>, *OUTLINE</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="10"><a href="#ADDFNTTBLE.HPFCS"><b>HPFCS</b></a></td>
|
|
<td valign="top">Host to printer font</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="10">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Host font</td>
|
|
<td valign="top">
|
|
<i>Element list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 1: Font character set</td>
|
|
<td valign="top">
|
|
<i>Name</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 2: Type</td>
|
|
<td valign="top">
|
|
<b><u>*RASTER</u></b>, *OUTLINE</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Printer font</td>
|
|
<td valign="top">
|
|
<i>Element list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 1: Identifier</td>
|
|
<td valign="top">
|
|
1-65535, *NONE</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 2: Width</td>
|
|
<td valign="top">
|
|
1-32767, *NONE, *PTSIZE</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 3: Attributes</td>
|
|
<td valign="top">
|
|
<b><u>*NONE</u></b>, *BOLD, *ITALIC, *BOLDITC, *DBLWIDE, *ITCDBLWIDE</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 4: Graphic character set</td>
|
|
<td valign="top">
|
|
<i>Integer</i>, <b><u>*SYSVAL</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 5: Point size</td>
|
|
<td valign="top">
|
|
1.0-999.9, <b><u>*WIDTH</u></b>, *NONE</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="6"><a href="#ADDFNTTBLE.PHCP"><b>PHCP</b></a></td>
|
|
<td valign="top">Printer to host code page</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="6">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Printer code page</td>
|
|
<td valign="top">
|
|
<i>Element list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 1: Graphic character set</td>
|
|
<td valign="top">
|
|
<i>Integer</i>, *SYSVAL</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 2: Code page</td>
|
|
<td valign="top">
|
|
<i>Integer</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Host code page</td>
|
|
<td valign="top">
|
|
<i>Element list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 1: Code page</td>
|
|
<td valign="top">
|
|
<i>Name</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="6"><a href="#ADDFNTTBLE.HPCP"><b>HPCP</b></a></td>
|
|
<td valign="top">Host to printer code page</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="6">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Host code page</td>
|
|
<td valign="top">
|
|
<i>Element list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 1: Code page</td>
|
|
<td valign="top">
|
|
<i>Name</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Printer code page</td>
|
|
<td valign="top">
|
|
<i>Element list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 1: Graphic character set</td>
|
|
<td valign="top">
|
|
<i>Integer</i>, *SYSVAL</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 2: Code page</td>
|
|
<td valign="top">
|
|
<i>Integer</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="7"><a href="#ADDFNTTBLE.PPFCS"><b>PPFCS</b></a></td>
|
|
<td valign="top">Printer to printer font</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="7">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: From printer font</td>
|
|
<td valign="top">
|
|
<i>Element list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 1: Identifier</td>
|
|
<td valign="top">
|
|
1-65535</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 2: Point size</td>
|
|
<td valign="top">
|
|
1.0-999.9, *ALL, <b><u>*NONE</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: To printer font</td>
|
|
<td valign="top">
|
|
<i>Element list</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 1: Identifier</td>
|
|
<td valign="top">
|
|
1-65535</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Element 2: Point size</td>
|
|
<td valign="top">
|
|
1.0-999.9, *ALL, <b><u>*NONE</u></b></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ADDFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="ADDFNTTBLE.FNTTBL"></a>
|
|
<h3>Font table (FNTTBL)</h3>
|
|
<p>Specifies the font mapping table entry to be added.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*PHFCS</b></dt>
|
|
<dd>Add an entry to the printer-resident to host-resident font character set mapping table.
|
|
<p>This table would be used when your application, such as DDS, references printer-resident fonts and the printer does not support resident fonts, for example, an IBM 3827,3825, 3820, or 3900 Model 1. Print Services Facility (PSF) must map the references from printer-resident fonts to host-resident fonts and download them.
|
|
</p>
|
|
</dd>
|
|
<dt><b>*PHCP</b></dt>
|
|
<dd>Add an entry to the printer-resident to host-resident code page mapping table.
|
|
<p>This table would be used when your application references printer-resident code pages and the printer being used does not support printer-resident code pages. The printer-resident code page must be mapped to a host-resident code page and downloaded to the printer by PSF.
|
|
</p>
|
|
</dd>
|
|
<dt><b>*HPFCS</b></dt>
|
|
<dd>Add an entry to the host-resident to printer-resident font character set mapping table.
|
|
<p>This table would be used when your application references host-resident fonts (font character sets and code pages) and the printer, such as the 4224, 4234, 4230, and 64XX, does not support downloading of host-resident fonts. PSF must map the references from host-resident fonts to printer-resident fonts.
|
|
</p>
|
|
</dd>
|
|
<dt><b>*HPCP</b></dt>
|
|
<dd>Add an entry to the host-resident to printer-resident code page mapping table.
|
|
<p>This table is similar to the QHPFCS table, in that it is used when the application references host-resident code pages and the printer being used does not support host-resident code pages. The host-resident code page must be mapped to a printer-resident code page and downloaded to the printer by PSF.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: Font table</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the font table to be changed. You must specify a name in order to change a printer-resident to printer-resident font mapping table. You should use a printer-resident font mapping table when all three of the following conditions exist:
|
|
<ol>
|
|
<li>You are printing to a PSF attached printer
|
|
</li>
|
|
<li>Your application specifies a printer-resident font which is not supported by the printer you are using.
|
|
</li>
|
|
<li>You want to specify a different substitute printer-resident font than the one selected by the system.
|
|
</li>
|
|
</ol>
|
|
<p>To use a printer-resident to printer-resident font mapping table with a particular PSF printer, you need to specify the name of the font table on the FNTTBL parameter of the Create PSF Configuration (CRTPSFCFG) or Change PSF Configuration (CHGPSFCFG) command.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 2: Library</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>Search all libraries in the job's library list until the first match is found.
|
|
</dd>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>Search the current library for the job. If no library is specified as the current library for the job, the QGPL library is used.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Search the specified library.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ADDFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="ADDFNTTBLE.PHFCS"></a>
|
|
<h3>Printer to host font (PHFCS)</h3>
|
|
<p>Specifies the printer-resident to host-resident font character set mapping. The printer-resident font, along with its specified attributes will be mapped to a host-resident font character set.
|
|
</p>
|
|
<p><b>Element 1: Printer font</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 1: Identifier</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>1-65535</i></b></dt>
|
|
<dd>Specify the printer-resident font identifier to be mapped to a host-resident font.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 2: Width</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No width is specified for this font identifier. *NONE should be specified when mapping to an outline font.
|
|
</dd>
|
|
<dt><b>*PTSIZE</b></dt>
|
|
<dd>The width for this font identifier will be calculated from the point size specified. When *PTSIZE is specified for width, the Point size parameter cannot be *NONE or *WIDTH. When mapping a typographic raster font (2304 - 3839, 4096 - 53247, 61440 - 65534), you should specify a value for the Point size parameter. The width value can be *PTSIZE or a value can be given.
|
|
</dd>
|
|
<dt><b><i>1-32767</i></b></dt>
|
|
<dd>Specify a width for the font identifier. When mapping a fixed pitch raster font (1 - 750, 3840 - 4095), you should specify a numeric value for Width. Refer to Printer Device Programming,SC41-5713 for more information font mapping tables.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 3: Attributes</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No special font attributes are specified on this font.
|
|
</dd>
|
|
<dt><b>*BOLD</b></dt>
|
|
<dd>The printer-resident font is a bold font.
|
|
</dd>
|
|
<dt><b>*ITALIC</b></dt>
|
|
<dd>The printer-resident font is an italic font.
|
|
</dd>
|
|
<dt><b>*BOLDITC</b></dt>
|
|
<dd>The printer-resident font is a bold italic font.
|
|
</dd>
|
|
<dt><b>*DBLWIDE</b></dt>
|
|
<dd>The printer-resident font is a double wide font.
|
|
</dd>
|
|
<dt><b>*ITCDBLWIDE</b></dt>
|
|
<dd>The printer-resident font is an italic double wide font.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 4: Graphic character set</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SYSVAL</u></b></dt>
|
|
<dd>Use the graphic character set specified in the system value QCHRID.
|
|
</dd>
|
|
<dt><b><i>graphic-character-identifier</i></b></dt>
|
|
<dd>Specify the graphic character set for the font. The graphic character set is the first part of the graphic character identifier which consists of the graphic character set and code page.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 5: Point size</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*WIDTH</u></b></dt>
|
|
<dd>The font point size is computed from the font width value specified. When mapping a fixed pitch raster font (1 - 750, 3840 - 4095), it is recommended that a width value should be specified and the point size value should be *WIDTH.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No point size is specified for this font identifier. *NONE should be specified when mapping to an outline font.
|
|
</dd>
|
|
<dt><b><i>1.0-999.9</i></b></dt>
|
|
<dd>Specify a point size ranging from 1.0 through 999.9. When mapping a typographic raster font (2304 - 3839, 4096 - 53247, 61440 - 65534), a point size value should be specified.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Host font</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 1: Font character set</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the font character set.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 2: Type</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*RASTER</u></b></dt>
|
|
<dd>The host-resident font is a raster font.
|
|
</dd>
|
|
<dt><b>*OUTLINE</b></dt>
|
|
<dd>The host-resident font is an outline font.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ADDFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="ADDFNTTBLE.HPFCS"></a>
|
|
<h3>Host to printer font (HPFCS)</h3>
|
|
<p>Specifies the host-resident to printer-resident font character set mapping. The host-resident font, along with its specified attributes will be mapped to a printer-resident font.
|
|
</p>
|
|
<p><b>Element 1: Host font</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 1: Font character set</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the font character set.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 2: Type</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*RASTER</u></b></dt>
|
|
<dd>The host-resident font is a raster font.
|
|
</dd>
|
|
<dt><b>*OUTLINE</b></dt>
|
|
<dd>The host-resident font is an outline font.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Printer font</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 1: Identifier</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>1-65535</i></b></dt>
|
|
<dd>Specify the printer-resident font identifier. This is the font to which the specified host-resident font will be mapped.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>Specify *NONE for the font identifier in order to disable the mapping of a host-resident to a printer-resident font. Refer to <u> Printer Device Programming</u> , SC41-5713 for more information on disabling the mapping of host-resident to printer-resident fonts.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 2: Width</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>Specify *NONE when mapping to an outline font. Outline fonts do not require a width specification.
|
|
</dd>
|
|
<dt><b>*PTSIZE</b></dt>
|
|
<dd>The width for this font identifier will be calculated from the Point size parameter specified. When *PTSIZE is specified for width, the point size parameter cannot be *NONE or *WIDTH. When mapping a typographic raster font (2304 - 3839, 4096 - 53247, 61440 - 65534), a point size value should be specified. The width value can be *PTSIZE or a value can be given.
|
|
</dd>
|
|
<dt><b><i>1-32767</i></b></dt>
|
|
<dd>Specify a width for the font identifier. When mapping a fixed pitch raster font (1 - 750, 3840 - 4095), a width should be specified. The point size value can be *WIDTH or a value can be given. Refer to Printer Device Programming, SC41-5713 for more information on font widths for printer-resident fonts.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 3: Attributes</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No special font attributes are specified on this font.
|
|
</dd>
|
|
<dt><b>*BOLD</b></dt>
|
|
<dd>The printer-resident font is a bold font.
|
|
</dd>
|
|
<dt><b>*ITALIC</b></dt>
|
|
<dd>The printer-resident font is an italic font.
|
|
</dd>
|
|
<dt><b>*BOLDITC</b></dt>
|
|
<dd>The printer-resident font is a bold italic font.
|
|
</dd>
|
|
<dt><b>*DBLWIDE</b></dt>
|
|
<dd>The printer-resident font is a double wide font.
|
|
</dd>
|
|
<dt><b>*ITCDBLWIDE</b></dt>
|
|
<dd>The printer-resident font is an italic double wide font.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 4: Graphic character set</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SYSVAL</u></b></dt>
|
|
<dd>The graphic character set specified in the system value QCHRID is used.
|
|
</dd>
|
|
<dt><b><i>graphic-character-identifier</i></b></dt>
|
|
<dd>Specify the graphic character set for the font. The graphic character set is the first part of the graphic character identifier which consists of the graphic character set and code page.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 5: Point size</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*WIDTH</u></b></dt>
|
|
<dd>The font point size is computed from the font width value specified. When mapping a fixed pitch raster font (1 - 750, 3840 - 4095), it is recommended that a width value should be specified and the point size value should be *WIDTH.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No point size is specified for this font identifier. *NONE should be specified when mapping to an outline font.
|
|
</dd>
|
|
<dt><b><i>1.0-999.9</i></b></dt>
|
|
<dd>Specify a point size ranging from 1.0 through 999.9. When mapping a typographic raster font (2304 - 3839, 4096 - 53247, 61440 - 65534), a point size value should be specified.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ADDFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="ADDFNTTBLE.PHCP"></a>
|
|
<h3>Printer to host code page (PHCP)</h3>
|
|
<p>Specifies the printer-resident to host-resident code page mapping. The printer-resident code page will be mapped to a host-resident code page.
|
|
</p>
|
|
<p><b>Element 1: Printer code page</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 1: Graphic character set</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The graphic character set specified in the system value QCHRID is used. A change to this system value will only take effect for the font mapping tables when the print writer is started. If QCHRID is changed and a printer is currently active, you must end the print writer and start it again.
|
|
</dd>
|
|
<dt><b><i>integer-number</i></b></dt>
|
|
<dd>Specify the graphic character set for the printer-resident code page. The graphic character set is the first part of the graphic character identifier which consists of the graphic character set and code page. For example, for the graphic character identifier 697 500, 697 is the graphic character set and 500 is the code page. In this example, specify 697 for the graphic character set.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 2: Code page</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>integer-number</i></b></dt>
|
|
<dd>Specify the printer-resident code page value.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Host code page</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 1: Code page</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the host-resident code page.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ADDFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="ADDFNTTBLE.HPCP"></a>
|
|
<h3>Host to printer code page (HPCP)</h3>
|
|
<p>Specifies the mapping of a host-resident code page to a printer-resident code page.
|
|
</p>
|
|
<p><b>Element 1: Host code page</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 1: Code page</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the host-resident code page.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Printer code page</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 1: Graphic character set</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*SYSVAL</b></dt>
|
|
<dd>The graphic character set specified in the system value QCHRID is used. A change to this system value will only take effect for the font mapping tables when the print writer is started. If QCHRID is changed and a printer is currently active, you must end the print writer and start it again.
|
|
</dd>
|
|
<dt><b><i>integer-number</i></b></dt>
|
|
<dd>Specify the graphic character set for the printer-resident code page. The graphic character set is the first part of the graphic character identifier which consists of the graphic character set and code page. For example, for the graphic character identifier 697 500, 697 is the graphic character set and 500 is the code page. In this example, specify 697 for the graphic character set.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 2: Code page</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>integer-number</i></b></dt>
|
|
<dd>Specify the printer-resident code page value.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ADDFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="ADDFNTTBLE.PPFCS"></a>
|
|
<h3>Printer to printer font (PPFCS)</h3>
|
|
<p>Specifies the printer-resident font substitution mapping. When a printer-resident font is not supported by a printer, you can specify the substitute printer-resident font to be used instead of the substitute printer-resident font selected by the system. Caution should be used when doing the following types of mapping as undesirable results may occur.
|
|
</p>
|
|
<ul>
|
|
<li>Mapping a monospaced font to a typographic font. Also for mapping a typographic font to a monospaced font.
|
|
</li>
|
|
<li>Mapping an outline font to a outline font with a different point size.
|
|
</li>
|
|
</ul>
|
|
<p><b>Element 1: From printer font</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 1: Identifier</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>1-65535</i></b></dt>
|
|
<dd>Specify the printer-resident font identifier for which the substitution printer-resident font is to be added. Refer to Printer Device Programming, SC41-5713 for more information on printer-resident fonts that are supported, and which ones are scalable (require point size) and which ones are not scalable (specify point size *NONE).
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 2: Point size</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No font point size is specified. This should be specified for all non-scalable fonts.
|
|
</dd>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>Specifies that all point sizes for an outline (scalable) font will be mapped. If the font is not scalable, then this will treated the same as *NONE.
|
|
</dd>
|
|
<dt><b><i>1.0-999.9</i></b></dt>
|
|
<dd>Specify a point size ranging from 1.0 through 999.9. When mapping a typographic raster font (2304 - 3839, 4096 - 53247, 61440 - 65534), a point size value should be specified.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: To printer font</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 1: Identifier</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>1-65535</i></b></dt>
|
|
<dd>Specify the substitute printer-resident font.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Element 2: Point size</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No font point size is specified. This should be specified for all non-scalable fonts.
|
|
</dd>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>Specifies that all point sizes for an outline (scalable) font will be mapped. If the font is not scalable, then this will treated the same as *NONE.
|
|
</dd>
|
|
<dt><b><i>1.0-999.9</i></b></dt>
|
|
<dd>Specify a point size ranging from 1.0 through 999.9. When mapping a typographic raster font (2304 - 3839, 4096 - 53247, 61440 - 65534), a point size value should be specified.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ADDFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="ADDFNTTBLE.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Override Existing Font Entry in system table</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
ADDFNTTBLE FNTTBL(*PHFCS)
|
|
PHFCS((254 84 *NONE 2039 7.0) (C0D0GT18 *RASTER))
|
|
</pre>
|
|
</p>
|
|
<p>This command adds an entry to the QPHFCS table (printer-resident to host-resident font character set table). To override the mapping of an existing entry in the system printer-resident to host resident font character set table, you need to add a corresponding entry in the QPHFCS table. Following are the recommended steps to change the mapping of an entry in the system tables.
|
|
</p>
|
|
<ul>
|
|
<li>Use the DSPFNTTBL command (DSPFNTTBL FNTTBL(*SYSPHFCS) OUTPUT(*PRINT)) to print the entries in the system font mapping table.
|
|
</li>
|
|
<li>Find the entry you want to change, and add an entry to the corresponding user font mapping table. In the above example, font identifier 254, width of 84, and point size 7.0 is to be added to the user font table (QPHFCS). The width of 84 and point size of 7.0 is were chosen based on an entry in the system table. The entry has no special attributes (*NONE) and graphic character set identifier 2039 will be used.
|
|
</li>
|
|
</ul>
|
|
<p>The attributes of the resident font specified in the print application are compared to those in the font table QPHFCS. If a match is found, then the specified host resident font (C0D0GT18) is downloaded to the printer. If no match is found, then the system printer-resident to host-resident font character set table is searched.
|
|
</p>
|
|
<p>Note that the print application may specify the normal graphic character set (for example, 697 in 697 500 specified in QCHRID system value). The 697 is mapped to 2039 and will result in a match for this entry.
|
|
</p>
|
|
<p><b>Example 2: Override Existing Font Symbol Entry in system table</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
ADDFNTTBLE FNTTBL(*PHFCS)
|
|
PHFCS((254 84 *NONE 1275 7.0) (C0SYMBOL *RASTER))
|
|
</pre>
|
|
</p>
|
|
<p>This command adds an entry to the QPHFCS table (printer-resident to host-resident font character set table) for use when using the special symbols code page (code page 259). As specified in Example 1, to override an existing entry in the system printer-resident to host-resident font character set table, you need to add a corresponding entry in the QPHFCS table.
|
|
</p>
|
|
<p>Use the DSPFNTTBL command to display the system font mapping table and find the entry you want to change. In this example, you want to add an entry that maps a printer-resident to host resident font character set for the special symbol code page (259). As in the previous example, font identifier 254, width of 84, and point size 7.0 is to be added to the user font table (QPHFCS). The width of 84 and point size of 7.0 is gotten from the system table. The entry has no special attributes (*NONE) and graphic character set 1275 is used.
|
|
</p>
|
|
<p>We now have two entries in the printer-resident to host-resident font character set table. Both entries have the same font identifier, width, and point size. The first entry will be used when the standard code page (500) and graphic set (697) is used by the application. The second entry will be used when a print application specifies special symbols (340 259).
|
|
</p>
|
|
<p><b>Example 3: Add Font Entry that does not exist in system table</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
ADDFNTTBLE FNTTBL(*PHFCS)
|
|
PHFCS((65500 *PTSIZE *NONE *SYSVAL 7.0)
|
|
(C0NEWFNT *RASTER))
|
|
</pre>
|
|
</p>
|
|
<p>This command adds an entry to the QPHFCS table (printer-resident to host-resident font character set table) that does not exist in the system printer-resident to host-resident font character set table.
|
|
</p>
|
|
<p>When adding entries that do not exist in the system printer resident to host-resident font character set table, it is recommended that you specify a specific value for font width or point size, but not both. For fixed pitch fonts, you should specify a font width and *WIDTH for point size. For typographic fonts, you should specify a point size and *PTSIZE for font width. In this example, a typographic font of 65500 with point size 7.0 is added to the printer-resident to host-resident font character set table (QPHFCS).
|
|
</p>
|
|
<p><b>Example 4: Override Existing Code Page Entry in system table</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
ADDFNTTBLE FNTTBL(*PHCP) PHCP((*SYSVAL 38) (T1V00038))
|
|
</pre>
|
|
</p>
|
|
<p>This command adds an entry to the QPHCP table (printer-resident to host-resident code page table). To override an existing entry in the system printer-resident to host-resident code page table, you need to add a corresponding entry in the QPHCP table. Following are the recommended steps to change the mapping of an entry in the system tables.
|
|
</p>
|
|
<ul>
|
|
<li>Use the DSPFNTTBL command (For example, DSPFNTTBL FNTTBL(*SYSPHCP) OUTPUT(*PRINT)) to print the entries in the system code page table.
|
|
</li>
|
|
<li>Find the entry you want to change, and add an entry into the corresponding user code page table. In the above example, code page 38 is to be added to the user code page table (QPHCP).
|
|
</li>
|
|
</ul>
|
|
<p>In performing the font mapping, the attributes of the resident code page specified in the print application are compared to those in the code page table (QPHCP). If a match is found, then the specified host-resident code page (T1V00038) is downloaded to the printer. If no match is found, then the system printer-resident to host-resident code page table is searched.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ADDFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="ADDFNTTBLE.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF2182</b></dt>
|
|
<dd>Not authorized to library &1.
|
|
</dd>
|
|
<dt><b>CPF2283</b></dt>
|
|
<dd>Authorization list &1 does not exist.
|
|
</dd>
|
|
<dt><b>CPF88D2</b></dt>
|
|
<dd>Font table &1 in library &2 not changed.
|
|
</dd>
|
|
<dt><b>CPF9810</b></dt>
|
|
<dd>Library &1 not found.
|
|
</dd>
|
|
<dt><b>CPF9820</b></dt>
|
|
<dd>Not authorized to use library &1.
|
|
</dd>
|
|
<dt><b>CPF9822</b></dt>
|
|
<dd>Not authorized to file &1 in library &2.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#ADDFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|