188 lines
10 KiB
HTML
188 lines
10 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="Network print server" />
|
||
|
<meta name="abstract" content="Identify exit points for network print server." />
|
||
|
<meta name="description" content="Identify exit points for network print server." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiimst35.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzaiimstexnet" />
|
||
|
<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>Network print server</title>
|
||
|
</head>
|
||
|
<body id="rzaiimstexnet"><a name="rzaiimstexnet"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Network print server</h1>
|
||
|
<div><p>Identify exit points for network print server.</p>
|
||
|
<p>The network print server has two exit points defined:</p>
|
||
|
<ol><li>QIBM_QNPS_ENTRY format ENTR0100 <ul><li>Called at server initiation</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li>QIBM_QNPS_SPLF format SPLF0100 <ul><li>Called to process an existing spooled output file</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ol>
|
||
|
<p id="rzaiimstexnet__SPTIDX262"><a name="rzaiimstexnet__SPTIDX262"><!-- --></a>The QIBM_QNPS_ENTRY exit point is defined to run an exit
|
||
|
program when the network print server is started. The exit program can be
|
||
|
used to verify access to the server. For more information, see <cite>Printer
|
||
|
Device Programming</cite>, SC41-5713-03.</p>
|
||
|
<div class="section"><h4 class="sectiontitle">Exit point QIBM_QNPS_ENTRY format ENTR0100</h4>
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th colspan="2" valign="top" id="d0e42">Offset</th>
|
||
|
<th rowspan="2" valign="top" width="20%" id="d0e44">Type</th>
|
||
|
<th rowspan="2" valign="top" width="20%" id="d0e46">Field</th>
|
||
|
<th rowspan="2" valign="top" width="40%" id="d0e48">Description</th>
|
||
|
</tr>
|
||
|
<tr><th valign="top" width="10%" id="d0e51">Dec</th>
|
||
|
<th valign="top" width="10%" id="d0e53">Hex</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" width="10%" headers="d0e42 d0e51 ">0</td>
|
||
|
<td valign="top" width="10%" headers="d0e42 d0e53 ">0</td>
|
||
|
<td valign="top" width="20%" headers="d0e44 "> CHAR(10)</td>
|
||
|
<td valign="top" width="20%" headers="d0e46 ">User profile name</td>
|
||
|
<td valign="top" width="40%" headers="d0e48 ">The name of the user profile that is calling the server</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e42 d0e51 ">10</td>
|
||
|
<td valign="top" width="10%" headers="d0e42 d0e53 ">A</td>
|
||
|
<td valign="top" width="20%" headers="d0e44 ">CHAR(10)</td>
|
||
|
<td valign="top" width="20%" headers="d0e46 ">Server identifier</td>
|
||
|
<td valign="top" width="40%" headers="d0e48 ">For the network print server, the value is QNPSERVR.</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e42 d0e51 ">20</td>
|
||
|
<td valign="top" width="10%" headers="d0e42 d0e53 ">14</td>
|
||
|
<td valign="top" width="20%" headers="d0e44 ">CHAR(8)</td>
|
||
|
<td valign="top" width="20%" headers="d0e46 ">Format name</td>
|
||
|
<td valign="top" width="40%" headers="d0e48 ">The user exit format name being used. For QIBM_QNPS_ENTRY the format
|
||
|
name is ENTR0100.</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e42 d0e51 ">28</td>
|
||
|
<td valign="top" width="10%" headers="d0e42 d0e53 ">1C</td>
|
||
|
<td valign="top" width="20%" headers="d0e44 ">BINARY(4)</td>
|
||
|
<td valign="top" width="20%" headers="d0e46 ">Function identifier</td>
|
||
|
<td valign="top" width="40%" headers="d0e48 ">The function being performed <p>For QIBM_QNPS_ENTRY the value is X'0802'.</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr><td colspan="5" valign="top" headers="d0e42 d0e44 d0e46 d0e48 d0e51 d0e53 "><div class="note"><span class="notetitle">Note:</span> This format is defined by member
|
||
|
ENPSEP in files H, QRPGSRC, QRPGLESRC, QLBLSRC and QCBLLESRC in library QSYSINC.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<p id="rzaiimstexnet__SPTIDX263"><a name="rzaiimstexnet__SPTIDX263"><!-- --></a>The QIBM_QNPS_SPLF exit point is defined to run
|
||
|
an exit program after the network print server receives a request to process
|
||
|
an existing spooled output file. The program can be used to perform a function
|
||
|
on the spooled file, such as fax the file. For more information, see <cite>Printer
|
||
|
Device Programming</cite>, SC41-5713-03.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Exit point QIBM_QNPS_SPLF format SPLF0100</h4>
|
||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th colspan="2" valign="top" id="d0e123">Offset</th>
|
||
|
<th rowspan="2" valign="top" width="20%" id="d0e125">Type</th>
|
||
|
<th rowspan="2" valign="top" width="20%" id="d0e127">Field</th>
|
||
|
<th rowspan="2" valign="top" width="40%" id="d0e129">Description</th>
|
||
|
</tr>
|
||
|
<tr><th valign="top" width="10%" id="d0e132">Dec</th>
|
||
|
<th valign="top" width="10%" id="d0e134">Hex</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody><tr><td valign="top" width="10%" headers="d0e123 d0e132 ">0</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">0</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">CHAR(10)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">User profile name</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">The name of the user profile that is calling the server</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e123 d0e132 ">10</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">A</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">CHAR(10)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">Server identifier</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">For the network print server the value is QNPSERVR</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e123 d0e132 ">20</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">14</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">CHAR(8)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">Format name</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">The user exit format name being used. For QIBM_QNPS_SPLF the format
|
||
|
name is SPLF0100.</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e123 d0e132 ">28</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">1C</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">BINARY(4)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">Function identifier</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">The function being performed <p>For QIBM_QNPS_SPLF, the value is X'010D'.</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e123 d0e132 ">32</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">20</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">CHAR(10)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">Job name</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">The name of the job that created the spooled file</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e123 d0e132 ">42</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">2A</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">CHAR(10)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">User name</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">The user profile of the job that created the spooled file</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e123 d0e132 ">52</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">34</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">CHAR(6)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">Job number</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">The number of the job that created the spooled file</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e123 d0e132 ">58</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">3A</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">CHAR(10)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">Spooled file name</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">The name of the spooled file being requested</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e123 d0e132 ">68</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">44</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">BINARY(4)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">Spooled file number</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">The number of the spooled file being requested</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e123 d0e132 ">72</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">48</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">BINARY(4)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">Length</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">Length of the spooled file exit program data</td>
|
||
|
</tr>
|
||
|
<tr><td valign="top" width="10%" headers="d0e123 d0e132 ">76</td>
|
||
|
<td valign="top" width="10%" headers="d0e123 d0e134 ">4C</td>
|
||
|
<td valign="top" width="20%" headers="d0e125 ">CHAR(*)</td>
|
||
|
<td valign="top" width="20%" headers="d0e127 ">Spooled file exit program data</td>
|
||
|
<td valign="top" width="40%" headers="d0e129 ">Spooled file exit program data consists of additional information used
|
||
|
by the exit program that has registered for exit point QIBM_QNPS_SPLF. The
|
||
|
client application provides the spooled file exit program data.</td>
|
||
|
</tr>
|
||
|
<tr><td colspan="5" valign="top" headers="d0e123 d0e125 d0e127 d0e129 d0e132 d0e134 "><div class="note"><span class="notetitle">Note:</span> This format is defined by member
|
||
|
ENPSEP in files H, QRPGSRC, QRPGLESRC, QLBLSRC and QCBLLESRC in library QSYSINC.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiimst35.htm" title="Identify exit points for the servers.">Exit program parameters</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|