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

103 lines
5.6 KiB
HTML
Raw Permalink 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="DUPLEX (Duplex) keyword in printer files" />
<meta name="abstract" content="Use this record-level keyword to specify whether output is printed on one side or two sides of the paper." />
<meta name="description" content="Use this record-level keyword to specify whether output is printed on one side or two sides of the paper." />
<meta name="DC.subject" content="DUPLEX (Duplex) keyword" />
<meta name="keywords" content="DUPLEX (Duplex) 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="rzakdmstduplex" />
<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>DUPLEX (Duplex) keyword in printer files</title>
</head>
<body id="rzakdmstduplex"><a name="rzakdmstduplex"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">DUPLEX (Duplex) keyword in printer files</h1>
<div><p>Use this record-level keyword to specify whether output is printed
on one side or two sides of the paper.</p>
<div class="section"><p>The format of the keyword is:</p>
<pre>DUPLEX(duplex-value | &amp;duplex-value) </pre>
<p>The
possible values are:</p>
<dl><dt class="dlterm">*NO</dt>
<dd>The output is printed on one side of the paper.</dd>
<dt class="dlterm">*YES</dt>
<dd>The output is printed on both sides of the paper, with the top of each
printed page at the same end of the sheet of paper. This is typically done
for output that is bound at the side.</dd>
<dt class="dlterm">*TUMBLE</dt>
<dd>The output is printed on both sides of the paper, with the top of one
printed page at the opposite end from the top of the other printed page. This
is typically done for output that is bound at the top.</dd>
</dl>
<p>You can specify the duplex value as a constant or program-to-system
field. When you specify the duplex value as a program-to-system field, the
field must exist in the same record format as the DUPLEX keyword. The field
must be defined as length 7 and type A (character), and usage P (program-to-system).</p>
<p>Specify
DEVTYPE(*AFPDS) on the CRTPRTF command when DUPLEX 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>If currently printing
on the front side of the sheet, the current sheet will be ejected and a new
sheet fed in. If you do not specify the DUPLEX keyword, the value specified
on the DUPLEX parameter on the CRTPRTF, CHGPRTF, or OVRPRTF command determines
the duplex value.</p>
<p>DUPLEX is ignored at run time if
it is not specified on a page boundary. The printer is on a page boundary
when no named or constant fields are processed for a page. After a named or
constant field is processed, the printer is no longer on a page boundary.
The printer is on a page boundary again when a SKIP, SPACE, ENDPAGE, or INVMMAP
keyword is processed that causes the printer to move to a new page, DUPLEX,
SKIP, and SPACE keywords are processed in the following order:</p>
<pre> SKIPB
SPACEB
DUPLEX
SPACEA
SKIPA </pre>
<p>DUPLEX is in effect only for the
record format specified. After records with the specified record format are
processed, the duplex value for the next record format (if the DUPLEX keyword
is not specified) is the duplex specified at the file level (CRTPRTF, CHGPRTF,
or OVRPRTF) command.</p>
<p>Option indicators are valid for this keyword.</p>
<div class="note"><span class="notetitle">Note:</span> Use
of this DDS keyword will cause a spool file to be generated that will not
be correctly printed when sending the spool file to MVS™. The spool file with not print and will
be held on the output queue by Print Services Facility™ (PSF)/MVS.</div>
</div>
<div class="section"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the DUPLEX keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A*
A R REC1 DUPLEX(*YES)
A FLD1 5A 60 10
A*</pre>
<p>Duplex printing is selected when record format REC1
prints.</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>