53 lines
3.1 KiB
HTML
53 lines
3.1 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="concept" />
|
||
|
<meta name="DC.Title" content="Print output from i5/OS PASE applications" />
|
||
|
<meta name="abstract" content="You can use the QShell Rfile utility to read and write output from i5/OS PASE shells." />
|
||
|
<meta name="description" content="You can use the QShell Rfile utility to read and write output from i5/OS PASE shells." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzalfinteract.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../rzahz/rfile.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2000, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2000, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzalfprinting" />
|
||
|
<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>Print output from i5/OS PASE
|
||
|
applications</title>
|
||
|
</head>
|
||
|
<body id="rzalfprinting"><a name="rzalfprinting"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Print output from <span class="keyword">i5/OS</span> PASE
|
||
|
applications</h1>
|
||
|
<div><p>You can use the QShell Rfile utility to read and
|
||
|
write output from <span class="keyword">i5/OS™</span> PASE
|
||
|
shells.</p>
|
||
|
<p>The following example writes the contents of stream file <tt>mydoc.ps</tt> to
|
||
|
spooled printer device file QPRINT as unconverted ASCII data, and then uses
|
||
|
the CL LPR command to send the spooled file to another system:</p>
|
||
|
<pre>before='ovrprtf qprint devtype(*userascii) spool(*yes)'\
|
||
|
after="lpr file(qprint) system(usrchprt01) prtq('rchdps') transform(*no)"
|
||
|
cat -c mydoc.ps | Rfile -wbQ -c "$before" -C "$after" qprint </pre>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzalfinteract.htm" title="As you customize your i5/OS PASE programs to use i5/OS functions, you need to consider the ways in which your program will interact with them.">How i5/OS PASE programs interact with i5/OS</a></div>
|
||
|
</div>
|
||
|
<div class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="../rzahz/rfile.htm">Rfile - Read or write record files</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|