ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzalu_5.4.0.1/rzaluprtwrtp.htm

89 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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.language" scheme="rfc1766" 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. -->
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<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))' />
<title>Printer writer program</title>
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" />
</head>
<body>
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
<a name="rzaluprtwrtp"></a>
<h3 id="rzaluprtwrtp">Printer writer program</h3>
<p>The printer writer program is a system-supplied program that takes spooled
files from an output queue and sends them to a printer. The spooled files
on a particular output queue remain stored in the system until the printer
writer program assigns a printer to the output queue.</p>
<p>The printer writer program takes spooled files, one at a time, from the
output queue, based on their priority. The printer writer program prints a
spooled file only if its entry on the output queue indicates that it has a
ready (RDY) status. You can display the status of a particular spooled file
using the Work with Output Queue (WRKOUTQ) command.</p>
<p>Do not confuse the printer writer program with an actual printer device
or a printer file. The printer writer program is the program that allows you
to assign an actual printer device to an output queue and select spooled files
from the output queue to be printed. The Start Printer Writer (STRPRTWTR)
command and the Work with Writers (WRKWTR) command provide you with the ability
to assign any configured printer to any output queue. Even though the name
of the command (Work with Writers) indicates you are working with printer
writers, you are actually using the printer writer program to make a match
between an output queue and a physical printer.</p>
<p>If the spooled file has a ready status, the printer writer program takes
the entry from the output queue and prints the specified job or file separators
or both, followed by the output data in the spooled file. If the spooled
file does not have a ready status, the printer writer program leaves the entry
on the output queue and goes on to the next entry. In most cases the printer
writer program continues to print spooled files (preceded by job and file
separators) until all spooled files with a ready status have been taken from
the output queue.</p>
<a name="wq23"></a>
<div class="notelisttitle" id="wq23">Notes:</div>
<ol type="1">
<li>The printer writer program uses the printer file QPSPLPRT. This printer
file is included in the system. It is set up for the printer writer program
and should not be changed or used for other applications.</li>
<li>If you run the CHGPRTF command to make all the IBM-supplied printer files
DBCS capable (CHGPRTF FILE(*all/*all) IGCDTA(*YES)), you must change the IGCDTA
parameter value for QPSPLPRT printer file back to *NO.</li>
</ol>
<p>If your printer stops for any reason (out of paper, for example), the iSeries&trade; server does not automatically assign a different printer to continue
printing the jobs in the output queue that your printer was assigned to. You
have to manually assign another printer to that output queue.</p>
<p>Multiple printer writers can be started to one output queue. The limit
is 10. This support allows many printers (up to 10) to begin printing spooled
files from the same output queue.</p>
<p>The multiple printer writer function supports work load balancing between
printers. It also provides backup for printed jobs running unattended. For
example, if one printer jams or runs out of paper the others continue to print
spooled files from the associated output queue.</p>
<p>A remote writer is an i5/OS program that takes spooled files from a remote
output queue and sends them to the specified remote system. The remote writer,
which is a system job, sends the spooled files using SNADS or TCP/IP. This
function is known as remote system printing on the iSeries server. The Start
Remote Writer (STRRMTWTR) command is used to initiate remote system printing.</p>
<p>After the spooled file is successfully sent to a remote system, it is deleted
or saved as determined by the SAVE spooled file attribute value.</p>
<p>More than one remote writer can be started to the same remote output queue
(10 is the limit). The actual number is specified in the remote output queue
description. However, each writer name must be unique and of the same type
(printer, remote, or diskette). See <a href="rzalursp.htm#rzalursp">Remote system printing</a> for more information
on remote writers.</p>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>