ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakd_5.4.0.1/rzakdmstptchrid.htm

89 lines
5.8 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="CHRID (Character Identifier) keyword in printer files" />
<meta name="abstract" content="Use this field-level keyword to specify that a graphic character set and code page other than the device default can be used for this field." />
<meta name="description" content="Use this field-level keyword to specify that a graphic character set and code page other than the device default can be used for this field." />
<meta name="DC.subject" content="CHRID (Character Identifier) keyword, Character Identifier (CHRID) keyword" />
<meta name="keywords" content="CHRID (Character Identifier) keyword, Character Identifier (CHRID) keyword" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstprkey.htm" />
<meta name="DC.Relation" scheme="URI" content="../nls/rbagsglobalmain.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzalu/rzalurefchrid.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakdmstptchrid" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>CHRID (Character Identifier) keyword in printer files</title>
</head>
<body id="rzakdmstptchrid"><a name="rzakdmstptchrid"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CHRID (Character Identifier) keyword in printer files</h1>
<div><p>Use this field-level keyword to specify that a graphic character
set and code page other than the device default can be used for this field.</p>
<p>This can be important when extended alphabetics (characters such as u with
an umlaut or c with a cedilla) are to be printed.</p>
<p>This keyword has no parameters.</p>
<p>If you do not specify CHRID for a field, data printed in that field is
printed in the character set of the printer device. How the data is printed
depends on how code points used in the original code page correspond to the
code page used on the device. For example, a slash (/) can be printed as a
blank, because <span>X'51'</span> is an empty code point in the basic U.S. character
set.</p>
<p>The CHRID keyword is not valid on constant fields or numeric fields (fields
with decimal positions specified in positions 36 through 37).</p>
<p>The CHRID keyword is ignored for fields in printer files that specify *JOBCCSID
for the CHRID parameter on the Create Printer File (CRTPRTF), Change Printer
File (CHGPRTF), or Override Printer File (OVRPRTF) commands. All printer data
is assumed to be in the CCSID of the current job for these printer files.</p>
<p>In SCS printer files (DEVTYPE(*SCS) on the CRTPRTF command), you cannot
specify CHRID on the same field as the TRNSPY keyword. In IPDS™ printer files
(DEVTYPE(*IPDS) on the CRTPRTF command), you can specify CHRID on the same
field as the TRNSPY keyword. However, a warning message results in stating
that the DEVTYPE should not be changed to *SCS.</p>
<p>For printer files created with DEVTYPE(*AFPDS), CHRID applies only to files
that use registered font IDs. If the file uses downloaded coded fonts or character
set/code pages, the keyword is ignored and a message is issued. See Appendix
D of the <a href="../books/g5445846.pdf" target="_blank">IBM<sup>®</sup> Infoprint<sup>®</sup> Fonts:
Font Summary</a><img src="wbpdf.gif" alt="Link to&#xA;PDF" /> book for a listing of font IDs.</p>
<p>If the DFNCHR keyword is specified for a record format, the CHRID keyword
cannot be specified in that record format. If the DFNCHR keyword is specified
at the file level, CHRID cannot be specified in that file.</p>
<p>Option indicators are not valid for this keyword. However, option indicators
can be used to condition the field associated with this keyword.</p>
<div class="section"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the CHRID keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A R RECORD1
00020A TITLE 40 1 20CHRID
A</pre>
<p>The field TITLE is a named field. With CHRID specified,
the printer attempts to print the appropriate characters.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakdmstprkey.htm" title="See the valid keyword entries for defining printer files in this topic.">Keyword entries for printer files (positions 45 through 80)</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../nls/rbagsglobalmain.htm">i5/OS Globalization</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../rzalu/rzalurefchrid.htm">CHRID values supported</a></div>
</div>
</div>
</body>
</html>