<?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 PJL printers</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="rzaluconpjlprt"></a> <h3 id="rzaluconpjlprt">Configure PJL printers</h3> <ol type="1"> <li>Ensure that you have satisfied the following requirements: <ul> <li>The printer must support Hewlett Packard print job language (PJL) protocol. For a list of printers that are known to support PJL, 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/).</li> <li>If the printer is attached to a network adapter, the network adapter must be compatible with the printer. The network adapter must provide bidirectional communication with the printer, and all PJL commands must pass to and from the printer unmodified.</li> <li>If the printer is attached to an external network adapter, the printer must be connected with an IEEE 1284 bidirectional printer cable and the print server must be in the BITRONICS, BI-DIRECTIONAL or ECP/MLC mode.</li></ul></li> <li>Use the Create Device Description (Printer)<a href="../cl/crtdevprt.htm">CRTDEVPRT</a> CL command to create a printer device description. From a character-based interface, type <tt class="xph">CRTDEVPRT</tt>.</li> <li>On the Create Device Description (Printer) Display, press F9 to display all parameters.</li> <li>Specify the following values: <a name="wq149"></a> <table id="wq149" width="90%" summary="" border="1" frame="border" rules="all" class="singleborder"> <thead valign="bottom"> <tr class="tablemainheaderbar"> <th id="wq150" align="left" valign="top">Parameter</th> <th id="wq151" align="left" valign="top">Value</th> </tr> </thead> <tbody valign="top"> <tr> <td headers="wq150">Device description (DEVD)</td> <td headers="wq151">The name of your device description; for example, <tt class="xph"><span class="italic">mypjlprt</span></tt>.</td> </tr> <tr> <td headers="wq150">Device class (DEVCLS)</td> <td headers="wq151">This must be set to <tt class="xph">*LAN</tt>.</td> </tr> <tr> <td headers="wq150">Device type (TYPE)</td> <td headers="wq151">This must be set to <tt class="xph">3812</tt>.</td> </tr> <tr> <td headers="wq150">Device model (MODEL)</td> <td headers="wq151">This must be set to <tt class="xph">1</tt>.</td> </tr> <tr> <td headers="wq150">LAN attachment (LANATTACH)</td> <td headers="wq151">This must be set to <tt class="xph">*IP</tt>.</td> </tr> <tr> <td headers="wq150">Port number (PORT)</td> <td headers="wq151">The port number that the printer network interface card is expecting for PJL data. Refer to your manufacturer's information or to the<a href="http://www.ibm.com/eserver/iseries/support/s_dir/slkbase.nsf/1ac66549a21402188625680b0002037e/ab93a7bf123bf3db8625668a0056a853?OpenDocument" target="_blank"> IBM knowledge base document</a> <img src="www.gif" alt="Link outside the Information Center" />"Recommended PJL Port Numbers Values for *LAN 3812 PJL Device Descriptions" (search for the document title at www.ibm.com/support/) for the correct value. Typically this value is <tt class="xph">9100</tt> or <tt class="xph">2501</tt>.</td> </tr> <tr> <td headers="wq150">Font (FONT)</td> <td headers="wq151">This is typically set to <tt class="xph">011</tt>, which is the default 10 CPI font.</td> </tr> <tr> <td headers="wq150">Form feed (FORMFEED)</td> <td headers="wq151">Set to *AUTOCUT, if single-cut sheets are used by the printer. Set to <tt class="xph">*CONT</tt>, if printing to a continuous forms printer.</td> </tr> <tr> <td headers="wq150">Printer error message (PRTERRMSG)</td> <td headers="wq151">Set to <tt class="xph">*INFO</tt> so that the printer's message queue will receive informational messages whenever possible. This can prevent a condition that might cause the printer writer to end.</td> </tr> <tr> <td headers="wq150">Message queue (MSGQ)</td> <td headers="wq151">The default value for this parameter is *CTLD, which indicates that the message queue is defined in the attached controller. There is no attached controller for *LAN printer device descriptions, so leaving the Message queue (MSGQ) parameter set to *CTLD will in effect set it to the QSYSOPR message queue in library QSYS. If you want to use another message queue for this printer device, verify that the message queue exists before entering the message queue and library in the MSGQ parameter. Otherwise, the CRTDEVPRT command will fail with message CPF2799, <span class="bold">Message queue &1 in library &2 not found</span>.</td> </tr> <tr> <td headers="wq150">Host print transform (TRANSFORM)</td> <td headers="wq151">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="wq150">Manufacturer type and model (MTRTYPMDL)</td> <td headers="wq151">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="wq150">Remote location (RMTLOCNAME)</td> <td headers="wq151">The name of your printer on the TCP/IP network; for example, <tt class="xph"><span class="italic">192.168.0.1</span></tt> or <tt class="xph"><span class="italic">mysnmpprt.myco.com</span></tt>. You should verify that i5/OS can reach the printer by using either the ping or Verify TCP/IP Connection (VFYTCPCNN) command.</td> </tr> <tr> <td headers="wq150">System driver program (SYSDRVPGM)</td> <td headers="wq151">This must be set to <tt class="xph">*IBMPJLDRV</tt>.</td> </tr> </tbody> </table>All other values can be left as the default value.</li> <li>Press Enter.</li> <li>Make the printer available. See <a href="rzalumanvryonprt.htm#rzalumanvryonprt">Make printer available</a>.</li> <li>Start the printer writer. For more information, see <a href="rzalumanstrprtw.htm#rzalumanstrprtw">Start printer writer</a>.</li></ol><img src="deltaend.gif" alt="End of change" /> <a id="Bot_Of_Page" name="Bot_Of_Page"></a> </body> </html>