168 lines
9.7 KiB
HTML
168 lines
9.7 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 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>Configure LPR/LPD</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>
|
||
|
|
||
|
<img src="delta.gif" alt="Start of change" />
|
||
|
<a name="rzaluconfiglprlpd"></a>
|
||
|
<h3 id="rzaluconfiglprlpd">Configure LPR/LPD</h3>
|
||
|
<p>To configure line printer requester/line printer daemon (LPR/LPD) printing,
|
||
|
do the following.</p>
|
||
|
<a name="wq156"></a>
|
||
|
<div class="notetitle" id="wq156">Note:</div>
|
||
|
<div class="notebody">You should only consider using this method if your printer
|
||
|
does not support the Printer Job Language (PJL), Simple Network Management
|
||
|
Protocol (SNMP), or Internet Printing Protocol (IPP) printing methods. This
|
||
|
method of printing has a number of limitations. Restrictions when using this
|
||
|
method include, but are not limited to:
|
||
|
<ul>
|
||
|
<li>No page range support.</li>
|
||
|
<li>Limited or no printer status.</li>
|
||
|
<li>Limited or no error recovery.</li>
|
||
|
<li>Limited or no control of a spooled file after it is sent.</li></ul></div>
|
||
|
<ol type="1">
|
||
|
<li>Start LPD on the print server, PC, or iSeries™ that you are printing to. If you are
|
||
|
printing to another iSeries, you can start LPD with iSeries Navigator:
|
||
|
|
||
|
<ol type="a">
|
||
|
<li>Click <span class="bold">Network > Servers > TCP/IP</span>.</li>
|
||
|
<li>Right-click <span class="bold">LPD</span> and click <span class="bold">Start</span>.</li></ol></li>
|
||
|
<li>Use the Create Output Queue <a href="../cl/crtoutq.htm">CRTOUTQ</a> CL command
|
||
|
to create a remote output queue. From a character-based interface, type <tt class="xph">CRTOUTQ</tt>.</li>
|
||
|
<li>On the CRTOUTQ display, press F9 to display all parameters.</li>
|
||
|
<li>Specify the following values:
|
||
|
<a name="wq159"></a>
|
||
|
<table id="wq159" width="90%" summary="" border="1" frame="border" rules="all" class="singleborder">
|
||
|
<thead valign="bottom">
|
||
|
<tr class="tablemainheaderbar">
|
||
|
<th id="wq160" align="left" valign="top">Parameter</th>
|
||
|
<th id="wq161" align="left" valign="top">Value</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody valign="top">
|
||
|
<tr>
|
||
|
<td headers="wq160">Output queue (OUTQ)</td>
|
||
|
<td headers="wq161">The name of your output queue; for example, <tt class="xph"><span class="italic">myoutq</span></tt>.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Library</td>
|
||
|
<td headers="wq161">The name of the library where your output queue is located.
|
||
|
It is recommended that you set this to QUSRSYS in case you need to use a dummy
|
||
|
device description for some of your applications; for example, <tt class="xph"><span class="italic">qusrsys</span></tt>.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Remote system (RMTSYS)</td>
|
||
|
<td headers="wq161">When configuring a remote output queue, you can either
|
||
|
specify the printer's IP address, host name, or DNS name. If an IP address
|
||
|
is used, the Remote System (RMTSYS) parameter should be set to *INTNETADR,
|
||
|
and then the printer's IP address should be specified in the Internet address
|
||
|
(INTNETADR) parameter. If a host name or DNS name is used, that name should
|
||
|
be entered here.
|
||
|
<p>Verify that the i5/OS can reach the printer by using either
|
||
|
the PING or Verify TCP/IP Connection (VFYTCPCNN) command with the IP address,
|
||
|
host name, or DNS name.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Remote printer queue (RMTPRTQ)</td>
|
||
|
<td headers="wq161">This specifies the print queue value that the printer
|
||
|
or print server accepts for LPD print requests. The remote printer queue is
|
||
|
hardware specific. Refer to your manufacturer's information or see the <a href="http://www.ibm.com/eserver/iseries/support/s_dir/slkbase.nsf/7c4c0f5a4d52e3c4862569b4005d198a/b49aa3cf3ce97d0d862565c2007d4393?OpenDocument" target="_blank">IBM® knowledge base document</a>
|
||
|
<img src="www.gif" alt="Link outside Information Center" /> "Recommended Remote Printer Queue Values for Remote Output Queues (RMTOUTQs)" (search for the document title at www.ibm.com/support/) for recommendations
|
||
|
on the value to use for some popular printers.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Writers to autostart (AUTOSTRWTR)</td>
|
||
|
<td headers="wq161"> This should be set to <tt class="xph">1</tt> to automatically
|
||
|
start one writer.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Connection type (CNNTYPE)</td>
|
||
|
<td headers="wq161"> This must be set to <tt class="xph">*IP</tt>.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Destination type (DESTTYPE)</td>
|
||
|
<td headers="wq161"> This should be set to <tt class="xph">*OTHER</tt>.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Host print transform (TRANSFORM)</td>
|
||
|
<td headers="wq161">Set to <tt class="xph">*YES</tt> so that SCS and AFP data stream
|
||
|
spooled files are converted to the printer's data stream.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Manufacturer type and model (MFRTYPMDL)</td>
|
||
|
<td headers="wq161">This value indicates the type of ASCII printer and is
|
||
|
used by the host print transform when converting spooled files. For recommendations
|
||
|
on the value to use for some popular printers, see the <a href="http://www.ibm.com/support/docview.wss?rs=110&uid=nas1dae2e6b32726a0f386256f0300551dbd" target="_blank">IBM knowledge base document</a>
|
||
|
<img src="www.gif" alt="Link outside Information Center" /> "Support for various ASCII Printers" (search for the document title at www.ibm.com/support/).</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Internet address (INTNETADR)</td>
|
||
|
<td headers="wq161">This must be set to the printer's IP address when the
|
||
|
Remote system (RMTSYS) parameter is set to *INTNETADR; for example, <tt class="xph"><span class="italic">192.168.0.2</span></tt>.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Destination options (DESTOPT)</td>
|
||
|
<td headers="wq161">This should be set to <tt class="xph">'XAIX'</tt> to allow multiple
|
||
|
copies to be printed on printers that start printing right away. When XAIX
|
||
|
is specified, the remote printer writer opens the connection to the printer
|
||
|
and sends multiple copies of the data file and control file. Each control
|
||
|
file contains one print command for the preceding data file.
|
||
|
<p>This should
|
||
|
be set to <tt class="xph">*NONE</tt> on printers that close the connection after the
|
||
|
first copy is sent and that are capable of buffering all of the print data.
|
||
|
The data file and the control file are sent once. The control file contains
|
||
|
multiple print commands for the preceding data file. Depending on the specific
|
||
|
printer, this might result in multiple copies being printed.</p>
|
||
|
<p>If you
|
||
|
specify <tt class="xph">'XAIX'</tt> when using a printer that closes the connection
|
||
|
after the first copy is sent, a condition might result where the print data
|
||
|
is resent, causing a loop condition where the data is printed continuously.</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td headers="wq160">Print separator page (SEPPAGE)</td>
|
||
|
<td headers="wq161">This setting might be overridden by the print server,
|
||
|
so setting this parameter might not have the desired effect.</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>All other values can be left as the default value.</li>
|
||
|
<li>Press Enter.</li>
|
||
|
<li>The remote writer associated with the remote output queue should automatically
|
||
|
be started. Use the following tasks to manage the remote output queue and
|
||
|
the remote writer:
|
||
|
<ul>
|
||
|
<li>Start the remote writer. For more information, see <a href="rzalumanstrrmtw.htm#rzalumanstrrmtw">Start remote writer</a>.</li>
|
||
|
<li>Stop the remote writer. For more information, see <a href="rzalumanstprmtw.htm#rzalumanstprmtw">Stop remote writer</a>.</li>
|
||
|
<li>Display the remote writer status. For more information, see <a href="rzalumandsprmtw.htm#rzalumandsprmtw">Display remote writer status</a>.</li>
|
||
|
<li>Change the remote output queue description. For more information, see <a href="rzalumancrmtoutq.htm#rzalumancrmtoutq">Change remote output queue description</a>.</li></ul></li>
|
||
|
<li>Optional: Create a dummy device description. Dummy device descriptions
|
||
|
are typically used when printing from applications that do not support printing
|
||
|
to an output queue. Dummy device descriptions can also be used if you want
|
||
|
to manage output associated with a printer rather than an output queue. For
|
||
|
more information, see the <a href="http://www.ibm.com/eserver/iseries/support/s_dir/slkbase.NSF/f99348d94b68f8708625661300765a6c/770fa496343139bc862565c2007d44cc?OpenDocument" target="_blank">IBM knowledge base
|
||
|
document</a>
|
||
|
<img src="www.gif" alt="Link outside Information Center" /> "Creating a Dummy Device Description
|
||
|
to Use with a Remote Output Queue (RMTOUTQ)" (search for the document title
|
||
|
at www.ibm.com/support/).</li></ol><img src="deltaend.gif" alt="End of change" />
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|