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

78 lines
4.0 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="ENDPAGE (End Page) keyword in printer files" />
<meta name="abstract" content="Use this record-level keyword to eject the current page after the record is printed." />
<meta name="description" content="Use this record-level keyword to eject the current page after the record is printed." />
<meta name="DC.subject" content="ENDPAGE (End Page) keyword" />
<meta name="keywords" content="ENDPAGE (End Page) 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="rzakdmstptendpa" />
<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>ENDPAGE (End Page) keyword in printer files</title>
</head>
<body id="rzakdmstptendpa"><a name="rzakdmstptendpa"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">ENDPAGE (End Page) keyword in printer files</h1>
<div><p>Use this record-level keyword to eject the current page after the
record is printed.</p>
<div class="section"><p>This keyword has no parameters.</p>
<p>Specify DEVTYPE(*AFPDS)
on the CRTPRTF command when ENDPAGE 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>An error message is issued if a constant
field is specified in a record format where the ENDPAGE keyword is also specified.</p>
<div class="p">You
cannot specify ENDPAGE with the following keywords: <p>SPACEA<br />
SPACEB<br />
SKIPA<br />
SKIPB</p>
</div>
<div class="note"><span class="notetitle">Note:</span> Feature Print Services Facility™ (PSF)
is required for use of this keyword. If PSF is not installed, you will not
be able to print files using this keyword and specifying DEVTYPE(*AFPDS).</div>
<p>Option
indicators are valid for this keyword.</p>
</div>
<div class="section"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the ENDPAGE keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A*
A R REC1 ENDPAGE
A FLD1 5A 66 10
A*
A R REC2
A 01 ENDPAGE
A FLD1 5A POSITION(8.5 10.2)
A</pre>
<p>A page eject always occurs after REC1 prints.</p>
<p>If
indicator 01 is on when the application writes REC2, a page eject occurs after
REC2 prints. If indicator 01 is off when the application writes REC2, no page
eject occurs.</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>
</body>
</html>