Tech Notes - theprinterplace.com
 
 
 
 
 

TallyGenicom
TechNote IBM_010

Configuring your IBM AS/400 or S/390 for Network Printing

Issue / Symptom:  There are several ways a printer can be LAN attached to an IBM host.

Solution/Action:

This document applies in whole to Tally logo’d and TallyGenicom logo’d printers. It applies in part to Genicom logo’d printers, the exceptions being mainly the difference in emulations in the printers.

For example:

- Tally and TallyGenicom logo’d Serial printers have a Proprinter XL24E (IBM 4208-2) emulation.
- Genicom logo’d printers that have a 24 wire print head have the XL24e emulation.
- Genicom logo’d printers that have a 9 wire print head have the Proprinter III XL (IBM 4202-3) emulation.

Configuring your IBM Host for Network Printing

The IBM Redbooks on AS/400 Printing (#SG24-2160 and SG24-6250) and S/390 Printing (#SG24-6234) are excellent references for learning about network printing from IBM systems. You can download these redbooks from the IBM

The IBM Network Printer Ethernet Configuration Guide (IBM #G544-5240) provides background information on connecting your TallyGenicom network printer to a wide variety of IBM systems and software, including AS/400, OS/390, MVS, OS/2, and AIX.

The ideal method of network-attaching a TallyGenicom printer to an IBM Host is known as “LAN Attachment”. This method gives the operator the greatest amount of control over the printing process. See the appropriate “Configuring LAN Attachment” section below for more details. All methods of LAN Attachment require specific features in the host OS and/or the printer.

When LAN Attachment is not an available option, the next best thing is to use LPR/LPD Attachment. This method does not give the operator the printer status and fault recovery features found in “LAN Attachment”; however, it does provide network printing capability. See the “Configuring LPR/LPD Attachment” section below.

If the printer or host computer do not support the above methods, then you have the following options:

1. direct-connect via Twinax or Coax interface (non-LAN connection)

2. attach printer to PC and spool files from AS/400 to PC via PC5250 transform

Configuring TallyCom+ PSIO (LANPlex-3) for IBM Host Printing

The NIC settings may be configured by using a Web Browser (Netscape or Internet Explorer) to access the printer's internal web page; set the browser’s URL to the printer’s IP address.

The NIC’s TCP/IP settings should reflect the following:

IP Address = a fixed address (DHCP and other dynamic addressing schemes are not recommended).

Gateway = IP address of nearest router on this network segment.

SubNet Mask = same as used by Host computer

Share Timeout must be increased from the default setting of 20 seconds.

1. Select "Advanced Configuration", then "General".

2. At the bottom of the "General Settings" page, there are 3 Timeout values. Set the "Share" timeout to 180 seconds.

3. Click "Save & Continue", then "Restart PrintServer" to make the new setting take effect.

Configuring IBM AS/400 LAN Attachment

The IBM Redbooks on AS/400 Printing (#SG24-2160 and SG24-6250) describe various methods of LAN-attaching printers. LAN Attachment has job management features not available with other methods of network printing, due to its use of bidirectional host-printer interaction. There are four ways to do LAN Attachment:

1. IPDS

2. WSCST/PJL (OS/400 V3R7 and later)

3. PCL/PJL (OS/400 V3R7 and later)

4. SNMP (OS/400 V4R5 and later)

The LAN-attach methods are described in more detail below. All LAN-attach methods communicate over a raw TCP port, using a protocol specific to that LAN-attach method. To use any of these methods, you must first create a Device

Description (CRTDEVPRT) and PSF Configuration Object (CRTPSFCFG) on the AS/400.

IPDS LAN-Attachment

IPDS attachment uses PPR/PPD protocol to utilize IPDS datastream for job control and printing. Requires IPDS-over-Ethernet option in printer. Recommended method for all TallyGenicom Line Impact Dot Matrix IPDS printers.

Device settings:

Device Class = *LAN

Device Type = *IPDS

Device Model = 0

LAN Attachment = *IP

Advanced Function Printing = *YES

Port Number = (NIC's raw TCP port, 9100 for LanPlex-3)

Online at IPL = *YES

Font Identifier = 11

Form Feed = *CONT (or *AUTOCUT for cut-sheet)

Activation timer = *NOMAX

Release timer = *SEC15

Remote Location = (printer’s IP address, in single quote-marks)

WSCST/PJL LAN-Attachment

WSCST/PJL attachment uses PJL commands for job control, and Tally ANSI emulation for printing. Requires PJL support in printer (T62xx ver 2.2+, T60xx ver 9.3+), and Tally Workstation Customization File. Recommended method for TallyGenicom Line Impact Dot Matrix non-IPDS printers.

First, download the Workstation Customization File (t6wscst.savf) from the TallyGenicom website, and unSave it to your AS/400. Then create the Workstation Customization File (CRTWSCST) in the QGPL Library.

Device settings:

Device Class = *LAN

Device Type = 3812

Device Model = 1

LAN Attachment = *IP

Port Number = (NIC's raw TCP port, 9100 for LanPlex-3)

Online at IPL = *YES

Font Identifier = 11

Form Feed = *CONT (or *AUTOCUT for cut-sheet)

Activation timer = *NOMAX

Release timer = *SEC15

Host print transform = *YES

Manufacturer type and model = *WSCST

Workstation customizing object = MT660; Library = QGPL

Remote location = (printer's IP address, in single quote-marks)

System driver program = *HPPJLDRV

PCL/PJL LAN-Attachment

PCL/PJL attachment uses PJL commands for job control, and PCL for printing. Requires PCL4/PCL5 + PJL support in printer. Recommended method for all TallyGenicom cut-sheet and continuous-form laser printers.

Device settings:

Device Class = *LAN

Device Type = 3812

Device Model = 1

LAN Attachment = *IP

Port Number = (NIC's raw TCP port, 9100 for LanPlex-3)

Online at IPL = *YES

Font Identifier = 11

Form Feed = *CONT (or *AUTOCUT for cut-sheet)

Activation timer = *NOMAX

Release timer = *SEC15

Host print transform = *YES

Manufacturer type and model = (*HPLJ4, *HPLJ4SI, or whichever most closely matches the printer's PCL emulation)

Remote location = (printer's IP address, in single quote-marks)

System driver program = *HPPJLDRV

SNMP LAN-Attachment

SNMP attachment uses SNMP for job control, and PCL or Proprinter emulation for printing. Requires SNMP in NIC; NIC must support Host Resource MIB (RFC 1514), and ideally also the Printer MIB (RFC 1759). Requires a recent version of OS/400. Works with TallyGenicom Line Impact Dot Matrix/ Serial Impact Dot Matrix printers equipped with TallyCom+.

Device settings:

Device Class = *LAN

Device Type = 3812

Device Model = 1

LAN Attachment = *IP

Port Number = 9100

Online at IPL = *YES

Font Identifier = 11

Form Feed = *CONT (or *AUTOCUT for cut-sheet)

Activation timer = *NOMAX

Inactivity timer = *SEC15

Host print transform = *YES

Manufacturer type and model = (*HPLJ4 for PCL printers, *IBM6400EP for Line Impact Dot Matrix printers in EpsonFX emulation, *EPSONLQ2550 for Serial Impact Dot Matrix printers in Epson LQ2550 emulation)

Workstation customizing object = *NONE

Remote location = (printer's IP address, in single quote-marks)

User-defined options = *IBMSHRCNN

System driver program = *IBMSNMPDRV

Configuring IBM AS/400 LPR/LPD Attachment

The IBM Redbooks on AS/400 Printing (#SG24-2160 and SG24-6250) describe the method of attaching printers using LPR/LPD. Because LPR/LPD is a one-way protocol, it does not support the job management features found in LAN Attachment. Basic LPR/LPD printing is done via a Remote Output Queue, which does not use the host’s native mode spooler/writer. However, the addition of an LPR/LPD driver gives the user a more “direct” connection, integrating the Remote Output Queue with the spooler/writer system.

LPR/LPD Driver Configuration

To use the native-mode spooler/writer with a Remote Output Queue, install the IBM TSPLPRD exit driver.

Recommended method for all network-attached TallyGenicom Serial Impact Dot Matrix printers, and for TallyGenicom Line Impact Dot Matrix printers with older non-PJL firmware.

To install the TSPLPRD driver, follow the “TSPLPRD Driver” instructions. Then setup a printer device description as follows.

Device settings:

Device Description = (your device name)

Device Class = *LAN

Device Type = 3812

Device Model = 1

LAN Attachment = *USRDFN

Port Number = (NIC's raw TCP port, 9100 for LanPlex-3)

Physical attachment = *DIRECT

Online at IPL = *YES

Font Identifier = 11

Form Feed = *CONT

Printer error message = *INFO

Activation timer = 170

Inactivity timer = *NOMAX

Release timer = *SEC15

Host print transform = *YES

Manufacturer type and model = (*IBM6400 for Line Impact Dot Matrix printers in IBMPro emulation, *IBM42082 for Serial Impact Dot Matrix printers in IBMPro emulation)

Workstation customizing object = *NONE

Remote location = (printer's IP address, in single quote-marks)

System driver program = TSPLPRD; Library = QGPL

After generating the Device Description file, enter the following command at the prompt:

“SETRMTPQ <device name> RMTPRTQ <device name>” press ENTER.

Then VARY ON the printer, start the WRITER and you’re ready to print.

Remote Output Queue Configuration

If you do not wish to install the LPR/LPD driver, you may use the Remote Output Queue alone.

The Remote Output Queue method uses the LPR/LPD protocol on TCP Port 515 for job control and printing.

If this method is to be used, set up the Output Queue by typing the command “CRTOUTQ” and pressing “F4”.

Queue settings:

Output Queue = (name of queue to use for printer)

Library = *QUSRSYS

Order of File on Queue = *FIFO

Remote System = *INTNETADR

Remote Printer Queue = ‘LPDPRT1’

Once the above selections have been made, press “F10” to configure more parameters.

Go to the “Writers” line and type 1 to start the “Writer”.

Connection Type = *IP

Destination Type = *OTHER if printer is offsite from the Host; select OS400 if printer and Host are connected on the same network segment.

Host Print Transform = *YES

Manufacturer Type and Model = (*IBM6400 for Line Impact Dot Matrix printers in IBMPro emulation, *IBM42082 for Serial Impact Dot Matrix printers in IBMPro emulation)

Internet Address = (printer’s IP address)

Configuring IBM S/390 LAN Attachment

1. See Chapter 11 of the Network Printer Configuration Guide (IBM #G544-5240A), about attaching a TallyGenicom IPDS-Ethernet printer. Pay close attention to the instructions under "Configuring Network Printers as PSF TCP/IPAttached Physical Printers".

2. PSF (Print Services Facility, IBM #G544-5625) is the native printer driver for OS/390, and MVS. It controls AFP (IPDS) printers that are attached via Coax or Ethernet, and works with the JES spooler. The TallyGenicom printer must be defined in PSF as a TCP/IP-attached IPDS printer. See the “PSF Startup” instructions for configuration details.

3. InfoPrint Server / Infoprint Manager (see Redbook #SG24-6234) is an optional feature of OS/390 and AIX software that consolidates print jobs from many different types of servers and applications onto a single central OS/390 print server.

InfoPrint Server does this by integrating various components:

􀂃 PSF (to drive Coax- or Ethernet-attached IPDS printers);

􀂃 IP Printway (IBM #S544-5379) (to drive Ethernet-attached printers via LPR/LPD, IPP, or direct socket printing);

􀂃 NetSpool (to redirect VTAM data to JES spool for network printing);

􀂃 InfoPrint Server Transforms (to convert output formats: AFP to PCL/Postscript, or PCL/Postscript/PDF/SAP to AFP).

Once a printer has been defined in PSF or IP Printway, jobs may be printed to it via the InfoPrint Server Print Interface.

4. VPS (VTAM Printer Support) from LRS (Levi Ray & Shoup) is a third-party package widely used for printing legacy applications on TCP/IP-Attached printers. It can be used in place of PSF, and supports printing to both Coax and Ethernet-attached printers. It accepts VTAM print data and routes output from the JES spool to any TCP/IP-attached printer, performing data conversions as needed.

With VPS, you can convert your print data to the type of output datastream supported by your printers. VPS/PCL converts AFP data to PCL; VPS/IPDS converts AFP data to IPDS.

􀂃 If you are printing line data or other text applications, you can use VPS/PCL and apply simple EBCDIC-to-ASCII conversion to print these applications on your TCP/IP-attached TallyGenicom line or serial-matrix printer.

􀂃 If you are printing complex or graphic applications, you can choose either VPS/PCL for output to laser printers, or choose VPS/IPDS for output to a TallyGenicom line printer equipped with IPDS-Ethernet.

The “VPS Config” file example shows how to configure VPS for line data applications.

 

Need help? Call our knowledgeable sales staff at: 1-800-243-3338