<?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="ZFOLD (Z-fold) keyword in printer files" /> <meta name="abstract" content="Use this record-level keyword to specify that a z-fold operation is to be performed on the current sheet. The reference-edge and paper-type parameters are required." /> <meta name="description" content="Use this record-level keyword to specify that a z-fold operation is to be performed on the current sheet. The reference-edge and paper-type parameters are required." /> <meta name="DC.subject" content="ZFOLD (Z-fold) keyword" /> <meta name="keywords" content="ZFOLD (Z-fold) 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="rzakdmstxzfold" /> <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>ZFOLD (Z-fold) keyword in printer files</title> </head> <body id="rzakdmstxzfold"><a name="rzakdmstxzfold"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">ZFOLD (Z-fold) keyword in printer files</h1> <div><p>Use this record-level keyword to specify that a z-fold operation is to be performed on the current sheet. The reference-edge and paper-type parameters are required.</p> <div class="section"><p>The format of the keyword is:</p> <pre>ZFOLD(reference-edge paper-type)</pre> <p>The possible values are:</p> <div class="p"><strong>reference-edge:</strong> <dl><dt class="dlterm">*BOT</dt> <dd>The reference edge is the bottom edge of the media.</dd> <dt class="dlterm">*RIGHT</dt> <dd>The reference edge is the right edge of the media.</dd> <dt class="dlterm">*TOP</dt> <dd>The reference edge is the top edge of the media.</dd> <dt class="dlterm">*LEFT</dt> <dd>The reference edge is the left edge of the media.</dd> <dt class="dlterm">*DEVD</dt> <dd>The reference edge is the default reference edge used by the device.</dd> </dl> </div> <div class="p"><strong>paper-type:</strong> <dl><dt class="dlterm">*LEDGER </dt> <dd>The paper to be used is ledger-sized (11 x 17 in.).</dd> <dt class="dlterm">*A3 </dt> <dd>The paper to be used is A3-sized (297 mm x 420 mm).</dd> </dl> </div> <p>Specify DEVTYPE(*AFPDS) on the CRTPRTF command when ZFOLD 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 ZFOLD is specified for a printer that does not support z-fold operations, the value specified for FIDELITY in he printer file controls whether the file prints.</p> <p>ZFOLD 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, or ENDPAGE keyword is processed that causes the printer to move to a new page.</p> <p>ZFOLD, SKIP, and SPACE keywords are processed in the following order:</p> <pre>SKIPB SPACEB ZFOLD SPACEA SKIPA</pre> <p>ZFOLD is in effect only for the record format specified. For the record format in which ZFOLD is specified, the page size is changed to the size of the paper-type specified for ZFOLD: ledger or A3. After records with the specified record format are processed, the page size for the next record format (if the ZFOLD keyword is not specified) is the page size specified at the file level (CRTPRTF, CHGPRTF, or OVRPRTF command).</p> <p>ZFOLD is in effect for just a single sheet. If consecutive sheets are to have a z-fold operation applied, then ZFOLD must be specified for each sheet. Printers can support a varying maximum number of sheets number of sheets per spooled file that have had a z-fold operation applied to them. Check your printer's hardware reference for this information.</p> <p>The reference edges supported by a printer vary. Check your printer's hardware reference for this information.</p> <p>The z-fold operation causes the current sheet to be first folded in half inwards (so the front side of the sheet is now inside the fold) along a line parallel to the reference edge. The half of the sheet furthest from the reference edge is again folded in half outwards along a line parallel to the reference edge. For example, when applied to an 11 x 17 in. sheet with the reference edge along a short side, the result is an 8.5 x 11 in. foldout.</p> <p>This finishing operation is applied to each medium, or sheet.</p> </div> <div class="section"><h4 class="sectiontitle">Example</h4><pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A* A R REC1 ZFOLD(*DEVD *LEDGER) A*</pre> <p>When REC1 is printed, it is z-folded by the printer's post processor.</p> <p>Only one ZFOLD keyword for each record format is valid at any time. Even with option indicators, specifying more than one ZFOLD keyword per record format is not valid.</p> <p>The overflow line number is recomputed if you specify ZFOLD, because the page size is either ledger or A3. The new overflow line number maintains the distance between the overflow line and the bottom of the page as specified in the printer file. The overflow number specified in the printer file will be restored when processing is complete for ZFOLD. So if the file level specifies an overflow line which is 1" from the bottom of the page, the overflow line for a page on which ZFOLD is specified is also 1" from the bottom of the page.</p> <p>Refer to your printer's documentation for additional information about the z-fold operation.</p> <p>Option indicators are valid for this keyword.</p> </div> <div class="section"> <div class="note"><span class="notetitle">Notes:</span> <ol><li>Use of this DDS keyword causes an <span class="keyword"><font color="Purple">i5/OS™</font></span> spooled file to be generated so that it is not correctly printed when sending the spooled file to MVS™. The spooled file does not print and is held on the output queue by PSF/MVS.</li> <li>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 on a IPDS™ printer using this keyword and specifying DEVTYPE(*AFPDS).</li> </ol> </div> </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>