122 lines
7.5 KiB
HTML
122 lines
7.5 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="CHRSIZ (Character Size) keyword in printer files" />
|
||
<meta name="abstract" content="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." />
|
||
<meta name="description" content="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." />
|
||
<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="rzakdmstprkey.htm" />
|
||
<meta name="DC.Relation" scheme="URI" content="rzakdmstdbchrs.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="rzakdmstptchrsi" />
|
||
<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 in printer files</title>
|
||
</head>
|
||
<body id="rzakdmstptchrsi"><a name="rzakdmstptchrsi"><!-- --></a>
|
||
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
<h1 class="topictitle1">CHRSIZ (Character Size) keyword in printer files</h1>
|
||
<div><p>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.</p>
|
||
<div class="p">The format of the keyword is: <pre>CHRSIZ(width height)</pre>
|
||
</div>
|
||
<p>The valid values for the width and height parameters are 1.0 through 20.0.</p>
|
||
<p>Any formatting you choose, such as using a specific font or editing via
|
||
the EDTCDE and EDTWRD keywords, is done before the expansion.</p>
|
||
<p>If you specify CHRSIZ on a record, it applies to all fields in that record
|
||
for which you do not specify CHRSIZ at the field level. When you specify a
|
||
numeric font (for example: 011–Courier 10 pitch) with CHRSIZ, the printer
|
||
scales the hardware fonts (scaling with integer values only).</p>
|
||
<p>Graphics fonts can also be specified with CHRSIZ. When you specify a GDDM<sup>®</sup> graphic
|
||
font (for example: ADMMVSS) with CHRSIZ, the system scales the graphic font.
|
||
You can use decimal values to scale graphic fonts.</p>
|
||
<p>It is recommended that you do not use FONT (*DEVD) (on the CRTPRTF, CHGPRTF,
|
||
or OVRPRTF command) when using CHRSIZ. If you do use FONT (*DEVD), then fields
|
||
specified with CHRSIZ are positioned on the page assuming that the font in
|
||
the device description is a 10-pitch font.</p>
|
||
<div class="p">In expanding a field, CHRSIZ uses the current font and lines-per-inch value.
|
||
For example, if you specify FONT(011), a 10-pitch font, and lpi(6) for the
|
||
printer file, specifying CHRSIZ (3 3) for a 10-character field expands the
|
||
field to 3 inches wide (30 characters/10 characters per inch) and 1/2 inch
|
||
high (3 lines/6 lines per inch). <div class="note"><span class="notetitle">Note:</span> If the current font is a coded font
|
||
or font character set/code page, 10-pitch is assumed when positioning the
|
||
field.</div>
|
||
</div>
|
||
<p>If, however, you specified FONT(222), a 15-pitch font, and lpi(4) on a
|
||
record format, the 10-character field mentioned previously expands to 2 inches
|
||
wide (30 characters/15 characters per inch) and 3/4 inch high (3 lines/4 lines
|
||
per inch).</p>
|
||
<div class="p">You cannot specify a hardware font on the FONT keyword when a decimal value
|
||
is specified on the CHRSIZ keyword. If both of these keywords apply to the
|
||
same field (specified either at the record or field level), the file is not
|
||
created. <div class="note"><span class="notetitle">Note:</span> When you specify FONT(*VECTOR) with the CHRSIZ keyword, the
|
||
4234 printer uses a default code page.</div>
|
||
</div>
|
||
<p>The CHRSIZ keyword does not work if the specified font
|
||
is a typographic font and the printer is either a 3812 or 3816 printer. Typographic
|
||
fonts are not scalable on these printers. This is a limitation of the printer.
|
||
The typographic fonts are as follows:</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="1" rules="rows"><tbody><tr><td align="left" valign="top" width="50%"> <p>751<br />
|
||
1051<br />
|
||
1053<br />
|
||
1056</p>
|
||
</td>
|
||
<td align="left" valign="top" width="50%"> <p>1351<br />
|
||
1653<br />
|
||
2103</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div class="note"><span class="notetitle">Note:</span> CHRSIZ is not supported on some printers due to printer limitations.
|
||
For example, 3825, 3827, and 3900 only support downloaded fonts.</div>
|
||
<p>When you create a file, exceeding or overlapping the page length is not
|
||
diagnosed for expanded height. It is diagnosed, however, for expanded width.
|
||
The field length used is the DDS field length multiplied by the expansion
|
||
width that you specify on CHRSIZ and rounded up to the integer value.</p>
|
||
<p>Valid data types for this keyword are A, F, and S.</p>
|
||
<p>Option indicators are not valid for this keyword.</p>
|
||
<div class="section"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
|
||
the CHRSIZ keyword.</p>
|
||
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
A R RECORD1 CHRSIZ(3 3)
|
||
A 02 03 FONT(222)
|
||
A FIELD1 3A 6 01
|
||
A FIELD2 6A 16 01CHRSIZ(2.5 2)
|
||
A FONT(ADMMVSS)
|
||
A FIELD3 6S 0 20 01CHRISIZ(1 1)
|
||
A</pre>
|
||
<p>In the example, FIELD1 is printed using CHRSIZ(3 3).
|
||
FIELD2 is printed using CHRSIZ(2.5 2). Note that the decimal CHRSIZ is valid
|
||
because the FONT specified for the field is not numeric. FIELD3 prints using
|
||
CHRSIZ(1 1).</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="relref"><strong>Related reference</strong><br />
|
||
<div><a href="rzakdmstdbchrs.htm" title="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).">CHRSIZ (Character Size) keyword</a></div>
|
||
</div>
|
||
</div>
|
||
</body>
|
||
</html> |