885 lines
31 KiB
HTML
885 lines
31 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>Change Font Table Entry (CHGFNTTBLE)</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="CHGFNTTBLE.Top_Of_Page"></a>
|
||
|
<h2>Change Font Table Entry (CHGFNTTBLE)</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="#CHGFNTTBLE.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#CHGFNTTBLE.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#CHGFNTTBLE.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="CHGFNTTBLE"></a>
|
||
|
<p>The Change Font Table Entry (CHGFNTTBLE) command changes an entry in the specified font table. This command changes an exiting entry in the user font or code page tables used by Print Services Facility (PSF) that controls:
|
||
|
</p>
|
||
|
<ol>
|
||
|
<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>
|
||
|
</ol>
|
||
|
<p>The entry must have first been added to the user tables with the ADDFNTTBLE (Add Font Table Entry) command.
|
||
|
</p>
|
||
|
<p>In performing the printer to host and host to printer font mapping (first four tables above), the user tables are searched first for a match. If no match is found, then the system font or code page tables are searched.
|
||
|
</p>
|
||
|
<p>For the printer-resident to printer-resident font substitution table, the following processing is done by the system:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<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.
|
||
|
<ul>
|
||
|
<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>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<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="#CHGFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="CHGFNTTBLE.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="#CHGFNTTBLE.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">Optional, 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="#CHGFNTTBLE.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>, <b><u>*SAME</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 2: Type</td>
|
||
|
<td valign="top">
|
||
|
<b><u>*SAME</u></b>, *RASTER, *OUTLINE</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="6"><a href="#CHGFNTTBLE.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>, <b><u>*SAME</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="10"><a href="#CHGFNTTBLE.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, <b><u>*SAME</u></b>, *NONE</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 2: Width</td>
|
||
|
<td valign="top">
|
||
|
1-32767, <b><u>*SAME</u></b>, *NONE, *PTSIZE</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 3: Attributes</td>
|
||
|
<td valign="top">
|
||
|
<b><u>*SAME</u></b>, *NONE, *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>*SAME</u></b>, *SYSVAL</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 5: Point size</td>
|
||
|
<td valign="top">
|
||
|
1.0-999.9, <b><u>*SAME</u></b>, *WIDTH, *NONE</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="6"><a href="#CHGFNTTBLE.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, <b><u>*SAME</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 2: Code page</td>
|
||
|
<td valign="top">
|
||
|
<i>Integer</i>, <b><u>*SAME</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="7"><a href="#CHGFNTTBLE.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, <b><u>*SAME</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 2: Point size</td>
|
||
|
<td valign="top">
|
||
|
1.0-999.9, *ALL, *NONE, <b><u>*SAME</u></b></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="CHGFNTTBLE.FNTTBL"></a>
|
||
|
<h3>Font table (FNTTBL)</h3>
|
||
|
<p>Specifies the name of the font table to be changed.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*PHFCS</b></dt>
|
||
|
<dd>The printer-resident to host-resident font character set table is to be changed (add an entry).
|
||
|
<p>This table would be used when your application, such as DDS, references printer-resident fonts and the printer does not support resident fonts. Examples of printers which do not support resident fonts are 3827, 3825, 3820, and the 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>The printer-resident to host-resident code page mapping table is to be changed (add an entry).
|
||
|
<p>This table is like the QPHFCS table, in that it is used when the 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>The host-resident to printer-resident font character set table is to be changed (add an entry).
|
||
|
<p>This table is 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>The host-resident to printer-resident code page mapping table is to be changed (add an entry).
|
||
|
<p>This table is like 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. A name must be specified when a printer-resident to printer-resident font substitution table is changed. This printer-resident font substitution table should be used when all three of the following conditions exit.
|
||
|
<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 substitution 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="#CHGFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGFNTTBLE.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), 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>
|
||
|
<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><u>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<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>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<dt><b>*RASTER</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="#CHGFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGFNTTBLE.PHCP"></a>
|
||
|
<h3>Printer to host code page (PHCP)</h3>
|
||
|
<p>Specifies the printer-resident to host-resident code page mapping. The printer-resident host 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><u>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<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="#CHGFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGFNTTBLE.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><u>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<dt><b><i>1-65535</i></b></dt>
|
||
|
<dd>Specify the printer-resident font identifier to be mapped from a host-resident font.
|
||
|
</dd>
|
||
|
<dt><b>*NONE</b></dt>
|
||
|
<dd>To disable the mapping of a host-resident to printer-resident font, specify *NONE for the font identifier. Refer to Printer Device Programming, 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><u>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<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), 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>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<dt><b>*NONE</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>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<dt><b>*SYSVAL</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>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<dt><b>*WIDTH</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="#CHGFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGFNTTBLE.HPCP"></a>
|
||
|
<h3>Host to printer code page (HPCP)</h3>
|
||
|
<p>Maps a host-resident code page to a printer-resident code page. The host-resident code page will be mapped 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><u>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<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><u>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<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="#CHGFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGFNTTBLE.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 (scalable) font to an outline (scalable) 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 changed. 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 of *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><u>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<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>*SAME</u></b></dt>
|
||
|
<dd>The value for this parameter remains unchanged.
|
||
|
</dd>
|
||
|
<dt><b>*NONE</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="#CHGFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGFNTTBLE.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Changing Font Entry</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGFNTTBLE FNTTBL(*PHFCS)
|
||
|
PHFCS((254 84 *NONE 2039 7.0) (C0D0GT18 *RASTER))
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command changes an entry in the QPHFCS table (printer resident to host-resident font character set table). The entry must have been already added to the table using the ADDFNTTBLE (Add Font Table Entry) command. In this example, font identifier 254, width of 84, and point size 7.0 is to be changed in the user font table (QPHFCS). The entry has no special attributes (*NONE) and graphic character set 2039 is used.
|
||
|
</p>
|
||
|
<p>In performing the font mapping, 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: Changing Font Symbol Entry</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGFNTTBLE FNTTBL(*PHFCS)
|
||
|
PHFCS((254 84 *NONE 1275 7.0) (C0SYMBOL *RASTER))
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command changes an entry in 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, the entry must have already been added using the ADDFNTTBLE (Add Font Table Entry) command. As in the previous example, font identifier 254, width of 84, and point size 7.0 is to be changed in 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 and graphic set is used by the application (697 500 in this example). The second entry will be used when a print application specifies special symbols (340 259).
|
||
|
</p>
|
||
|
<p><b>Example 3: Change Code Page Entry</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGFNTTBLE FNTTBL(*PHCP) PHCP((*SYSVAL 38) (T1V00038))
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command changes an entry in the QPHCP table (printer resident to host-resident code page table). In the above example, the mapping for code page 38 is changed.
|
||
|
</p>
|
||
|
<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="#CHGFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGFNTTBLE.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="#CHGFNTTBLE.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|