TechTalk: TCP/IP

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

From: Ron Hodgson

To: All

I have a question about using TCP/IP to connect PCs to an AS/400 rather than PC Support's APPC.

MC had some very compelling arguments in favor of using TCP/IP (see "Using TCP/IP with Windows," MC, August 1995). One possible drawback not discussed goes to the heart of my question.

Isn't it true that TCP/IP does not provide the AS/400 printer emulation support that we've all become so dependent upon? If so, how do you provide the needed capabilities?

From: Fred Gamache

To: Ron Hodgson

We are using TCP/IP and, while we don't use printer emulation, we do have an AS/400 queue set up to automatically send any spool files on it to a network print queue. So, we are using our network-connected printers to print. We use the LPD function in TCP/IP to do this.

From: Ron Hodgson

To: Fred Gamache

Can you explain what LPD is? It's interesting that you mentioned this form of printer redirection. We're looking at implementing an optical archiving system, and I'd like it to be LAN-based yet still pull print files from the AS/400. Routing selected system output to NetWare queues is one consideration.

From: Fred Gamache

To: Ron Hodgson

The following information from AS/400 TCP/IP Configuration and Reference V3R1 (SC41-3420, CD-ROM QBKANL) describes the LPD function. As I said, we are sending print files to a variety of network-attached printers and it seems to be working OK.

You can request to have your spooled files sent, received, and printed on any system in your TCP/IP network. The term often used by UNIX TCP/IP software to describe this support is line printer requester (LPR). LPR is the sending, or client portion, of a spooled file transfer. On the AS/400 system, the Send TCP/IP Spooled File (SND-TCPSPLF) command provides this function by allowing you to specify what system you want the spooled file printed on and how you want it printed. There is also a TCP/IP command, LPR, that provides the same parameters and function as the SNDTCPSPLF command.

The printing of the file is done by the printing facilities of the destination system. The destination system must be running TCP/IP. On the AS/400 system, the line printer daemon (LPD) is the process on the destination system that receives the file sent by the SNDTCPSPLF command. The LPD process places the spooled file on a local printer queue. To print the spooled file, the spooled file must be put on a printer queue already started to an active printer writer or a writer must be started to that printer queue.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  •  

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: