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

90 lines
5.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="reference" />
<meta name="DC.Title" content="CHRSIZ (Character Size) keyword" />
<meta name="abstract" content="Use this record- or field-level keyword to expand the printed characters to twice their normal width, their normal height, or their normal size (width and height)." />
<meta name="description" content="Use this record- or field-level keyword to expand the printed characters to twice their normal width, their normal height, or their normal size (width and height)." />
<meta name="DC.subject" content="CHRSIZ (Character Size) keyword, Character Size (CHRSIZ) keyword" />
<meta name="keywords" content="CHRSIZ (Character Size) keyword, Character Size (CHRSIZ) keyword" />
<meta name="DC.Relation" scheme="URI" content="prtkwd.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakdmstptchrsi.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="rzakdmstdbchrs" />
<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>CHRSIZ (Character Size) keyword</title>
</head>
<body id="rzakdmstdbchrs"><a name="rzakdmstdbchrs"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">CHRSIZ (Character Size) keyword</h1>
<div><p>Use this record- or field-level keyword to expand the printed characters
to twice their normal width, their normal height, or their normal size (width
and height).</p>
<div class="section"><p>Before expanding the characters, the system performs any formatting
operations specified, such as those specified with the DDS keywords EDTCDE
and EDTWRD.</p>
<p>The format of this keyword is:</p>
<pre>CHRSIZ(width [height])</pre>
<p>The
valid values for the width and height parameters are 1 and 2. The width parameter
is required; the height parameter is optional. If height is not specified,
it defaults to 1.</p>
<p>This format is valid only on the 5553 printer.</p>
<p>Consider the following conditions when using CHRSIZ(width
[height]):</p>
<ul><li>It can be used for both DBCS and alphanumeric data.</li>
<li>It can be specified with the IGCCHRRTT keyword. The characters are first
rotated, then expanded.</li>
<li>It cannot be specified on a record or on a field in a record if that record
also contains COLOR, BARCODE, or LPI.</li>
<li>It expands characters in alphanumeric fields specified with the keyword
IGCANKCNV. Characters in other alphanumeric fields are not expanded.</li>
<li>If you specify CHRSIZ(1) at the field level, data will be printed in its
normal width even when CHRSIZ(2) is specified for the record.</li>
<li>Option indicators are not allowed with this keyword.</li>
</ul>
</div>
<div class="section"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the CHRSIZ keyword on the DDS coding form.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A*
00020A*
00030A R RECORD1 CHRSIZ(2 1)
00040A FIELD1 23O 20SPACEA(2)
00050A FIELD2 80A 20SPACEA(2) CHRSIZ(1 1)
00060A FIELD3 41O 20SPACEA(2)
00070A FIELD4 45O 20SPACEA(2) CHRSIZ(1 2)
00080A FIELD5 40A 20SPACEA(2) CHRSIZ(1)
00090A FIELD6 25A 20SPACEA(2) CHRSIZ(2 2)
A</pre>
<p>In the example, the DBCS characters in FIELD1 and FIELD3
expand to twice their normal width when printed. The DBCS characters in FIELD2
and FIELD5 are in their normal size when printed. The DBCS characters in FIELD4
expand to twice their normal height when printed. The DBCS characters
in FIELD6 expand to twice their normal size (width and height) when printed.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="prtkwd.htm" title="Do not use these keywords with DBCS (double-byte character set) data fields (the data type specified in position 35 is O or G).">Keyword considerations for printer files that use double-byte character set</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakdmstptchrsi.htm" title="Use this record- or field-level keyword to expand the width and height of a record or field. CHRSIZ is valid only for IPDS printers and only for printer files with device type *IPDS or *AFPDS specified.">CHRSIZ (Character Size) keyword in printer files</a></div>
</div>
</div>
</body>
</html>