93 lines
4.9 KiB
HTML
93 lines
4.9 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="reference" />
|
|
<meta name="DC.Title" content="TXTRTT (Text Rotation) keyword in printer files" />
|
|
<meta name="abstract" content="Use this field-level keyword to rotate any text contained in the field." />
|
|
<meta name="description" content="Use this field-level keyword to rotate any text contained in the field." />
|
|
<meta name="DC.subject" content="TXTRTT (Text Rotation) keyword, Text Rotation (TXTRTT) keyword" />
|
|
<meta name="keywords" content="TXTRTT (Text Rotation) keyword, Text Rotation (TXTRTT) keyword" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakdmstprkey.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="rzakdmstpttxtrt" />
|
|
<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>TXTRTT (Text Rotation) keyword in printer files</title>
|
|
</head>
|
|
<body id="rzakdmstpttxtrt"><a name="rzakdmstpttxtrt"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">TXTRTT (Text Rotation) keyword in printer files</h1>
|
|
<div><p>Use this field-level keyword to rotate any text contained in the
|
|
field.</p>
|
|
<div class="section"><p>The format of the keyword is:</p>
|
|
<pre>TXTRTT(field-rotation)</pre>
|
|
<p>The
|
|
field-rotation parameter is required and controls the rotation of the field.
|
|
Valid values are 0, 90, 180, and 270 degrees.</p>
|
|
<p>Specify DEVTYPE(*AFPDS)
|
|
on the CRTPRTF command when TXTRTT is specified in the file. If DEVTYPE is
|
|
changed to anything other than *AFPDS, the keyword is ignored and a warning
|
|
message is issued at print time.</p>
|
|
<p>Option indicators are valid for this
|
|
keyword.</p>
|
|
<p>CHRSIZ is handled as graphic font and cannot be used with the
|
|
field-level keyword TXTRTT.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Example 1</h4><p>The following example shows how to specify
|
|
the TXTRTT keyword.</p>
|
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
|
A*
|
|
A R REC1
|
|
A FLD05 10 35 15TXTRTT(90)
|
|
A*
|
|
A R REC2
|
|
A FLD06 7S 2 TXTRTT(270)
|
|
A POSITION(6.5 13.8)
|
|
A</pre>
|
|
<p>FLD05 in REC1 is rotated 90 degrees.</p>
|
|
<p>FLD06 in REC2
|
|
is rotated 270 degrees.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Example 2</h4><p>The following example shows how to specify
|
|
the TXTRTT keyword.</p>
|
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
|
*
|
|
R REC1
|
|
FLD05 16 3 5TXTRTT(0)
|
|
*
|
|
R REC2
|
|
FLD06 16 TXTRTT(270)
|
|
POSITION(6 7)</pre>
|
|
<p>Record
|
|
1 (REC1) field 5 (FLD05), shows the coding using the row/column method of
|
|
positioning. Record 2 (REC2) field 6 (FLD06), shows the coding using the absolute
|
|
method of positioning.</p>
|
|
<p>The following diagram shows:</p>
|
|
<ul><li>The position of FLD05 in REC1 with the row/column method of positioning.
|
|
Rotation is 0 degrees.</li>
|
|
<li>The position of FLD06 in REC2 with the absolute method of positioning.
|
|
Rotation is 270 degrees.</li>
|
|
</ul>
|
|
<p>Scale and position should not be considered in this diagram.</p>
|
|
<br /><img src="rv2h333.gif" alt="Graphic showing the resulting placement
of fields described in example 2. Text for field 5 extends along row 3 beginning
in column 5. Text for field 6 begins in row 6 and extends upward along column
7." /><br /></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>
|
|
</body>
|
|
</html> |