78 lines
5.4 KiB
HTML
78 lines
5.4 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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="dc.language" scheme="rfc1766" 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. -->
|
|
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<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))' />
|
|
<title>Special characters used with line data</title>
|
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
|
</head>
|
|
<body>
|
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
|
|
|
|
|
<a name="rzau6chars"></a>
|
|
<h3 id="rzau6chars">Special characters used with line data</h3>
|
|
<p>There are two types of special characters that can be used with line data;
|
|
carriage control characters (CC) and table reference characters (TRC).</p>
|
|
<p>Carriage control characters affect the data's line positioning. A carriage
|
|
control character can be represented as either American National Standards
|
|
Institute (ANSI) or machine code. You cannot use both ANSI and machine codes
|
|
within a single data set. ANSI carriage control is a standard representation
|
|
that is used with printers from many different manufacturers. See the ANSI
|
|
carriage control characters topic for the ANSI codes and their functions.
|
|
Machine code control characters were defined by IBM®; they correspond to channel command words
|
|
issued by the operating system. See the Machine carriage control characters
|
|
topic for the IBM machine code values and functions.</p>
|
|
<p>There are differences in the conventions used by the i5/OS™ operating system
|
|
for ANSI and machine code line spacing. The i5/OS convention for ANSI handles line spacing
|
|
and then causes the line to be printed. The i5/OS convention for machine codes causes the
|
|
line to be printed and then performs the spacing action.</p>
|
|
<p>Table reference characters allow an additional byte at the beginning of
|
|
a line. The byte indicates which coded font (specified on the AFPCHARS parameter)
|
|
is used to print the line. Up to four coded fonts are specified on the AFPCHARS
|
|
parameter. The table reference character contains a value of <span class="hex">X'F0'</span>, <span class="hex">X'F1'</span>, <span class="hex">X'F2'</span>, or <span class="hex">X'F3'</span>. The value corresponds to the relative
|
|
position of the required coded font in the list on the AFPCHARS parameter.
|
|
If table reference characters are used, every data record must contain a table
|
|
reference character. The printer file parameter Table Reference Characters
|
|
(TBLREFCHR) specifies whether table reference characters are in the data.</p>
|
|
<p>If carriage control and table reference characters are used with the data,
|
|
the table reference character follows the carriage control character. Both
|
|
special characters precede the data. If carriage control bytes are not used,
|
|
the table reference character is the first byte of the data record.</p>
|
|
<p>These graphics illustrate the valid forms of line data.</p>
|
|
<a name="rzau6simple"></a>
|
|
<div class="fignone" id="rzau6simple"><span class="figcap">Figure 4. Simple line data</span>
|
|
<div class="mmobj">
|
|
<img src="rzau6501.gif" alt="This figure has one box with data in it." /></div></div>
|
|
<a name="rzau6withtrc"></a>
|
|
<div class="fignone" id="rzau6withtrc"><span class="figcap">Figure 5. Line data with table reference characters</span>
|
|
<div class="mmobj">
|
|
<img src="rzau6502.gif" alt="This figure has two boxes. The first has a table reference character (TRC) and the second has data in it." /></div></div>
|
|
<a name="rzau6withcc"></a>
|
|
<div class="fignone" id="rzau6withcc"><span class="figcap">Figure 6. Line data with carriage control characters</span>
|
|
<div class="mmobj">
|
|
<img src="rzau6503.gif" alt="This figure has two boxes. The first has a carriage control character (CC) and the second has data in it." /></div></div>
|
|
<a name="rzau6withboth"></a>
|
|
<div class="fignone" id="rzau6withboth"><span class="figcap">Figure 7. Line data with carriage control characters and table reference characters</span>
|
|
<div class="mmobj">
|
|
<img src="rzau6504.gif" alt="This figure has three boxes. The first has a carriage control character (CC), the second has a table reference character (TRC), and the third has data in it." /></div></div>
|
|
<p><span class="bold">Related reference</span></p>
|
|
<p><a href="rzau6ansi.htm#rzau6ansi">ANSI carriage control characters</a></p>
|
|
<p><a href="rzau6machine.htm#rzau6machine">Machine code carriage control characters</a></p>
|
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
|
</body>
|
|
</html>
|