ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/QUSRTOOL.htm

116 lines
3.5 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Spool and Print Tools in Library QUSRTOOL</title>
<!-- Begin Header Records ========================================= -->
<!-- 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. -->
<!-- Print SCRIPT A converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
<!-- at RCHVMW2 on 17 Feb 1999 at 11:05:09 -->
<!-- File cleanup completed Dec 2001 by v2cdijab -->
<!-- Add Save/restore APIs used by SAVRSTSPLF by kjv -->
<!-- End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!-- Java sync-link -->
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
</script>
<h2>Spool and Print Tools in Library QUSRTOOL</h2>
<p>There are tools in QUSRTOOL that use some of the spooled file and print
APIs. To show how to use these APIs, source code for these tools is provided in
the examples.</p>
<p>These tools use most of the spooled file and print APIs discussed in this
part. Additionally, some CL commands are used in the tools.</p>
<p>The tools are:</p>
<ul>
<li>Save and restore spooled files (SAVRSTSPLF) tool
<p>This tool uses the following spooled file APIs:</p>
<ul>
<li>QSPCLOSP</li>
<li>QSPCRTSP</li>
<li>QSPGETSP</li>
<li>QUSLSPL</li>
<li>QUSRSPLA</li>
<li>QSPOPNSP</li>
<li>QSPPUTSP</li>
</ul>
<p><img src="delta.gif" alt="Start of change">It also makes use of the following save and restore APIs:</p>
<ul>
<li>QSRSAVO</li>
<li>QSRRSTO</li>
</ul><img src="deltaend.gif" alt="End of change"><br>
</li>
<li>Transform AFP to ASCII data stream (TRNAFP) tool
<p>This tool uses the QWPZTAFP print API.</p>
</li>
<li>Customized separator page exit program (QSPBLSEP) example
<p>This example of the customized print separator exit program builds program
QSPBLSEP. QSPBLSEP can be used to generate data for separator pages.</p>
</li>
<li>Page range support exit program (TSPRWPR) example
<p>This example of the Writer Transform exit program provides page range
support for remote writers and CL commands Send TCP/IP Spooled File
(SNDTCPSPLF) and LPR.</p>
</li>
<li>LPR Print driver exit program (TSPLPRD) example
<p>This example
of the Print Driver exit program provides the function
of sending spooled files from an output queue to an ASCII printer device which
is attached to an LPD server.
</p>
</li>
</ul>
<p>A description of the SAVRSTSPLF tool can be found in member TSRINFO. A
description of TRNAFP can be found in member TWPINFO. A description of QSPBLSEP
can be found in member TBSINFO. A description of TSPRWPR can be found in member
TSPRWPRI. A description of
TSPLPRD can be found in member TSPLPRDI.
All members are associated with file QATTINFO, library QUSRTOOL. File
QATTINFO also contains information on how to use QUSRTOOL.</p>
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center">
<a href="#Top_Of_Page">Top</a> |
<a href="print1a.htm">Print APIs</a> |
<a href="aplist.htm">APIs by category</a></td>
</tr>
</table>
</center>
</body>
</html>