IBM AS/400e Computer Hardware User Manual


 
Configuration Requirements for LPR
LPR puts a host name in the control file that it sends in addition to the data file. The
receiving system uses this information to determine if the print request came from
an authorized host. LPR uses the local domain and host name if you have
configured them (Option 12 on the CFGTCP menu). Otherwise, it looks for the host
name in the local host table or the name server that you have set up with Options
10 and 12, respectively, on the CFGTCP menu. If LPR does not find a name, it
uses IP followed by the dotted Internet address of the AS/400 system.
To configure the Local Domain and Host Name, use Option
12
(Change TCP/IP
Domain Information) from the CFGTCP menu.
Sending a Spooled File (LPR)
The
Send TCP/IP Spooled File
(SNDTCPSPLF) command provides support for the
remote printing of spooled files on a specified host and print queue using TCP/IP.
You can send files to other AS/400 systems and non-AS/400 systems. Regardless
of the type of destination system (AS/400 system or non-AS/400 system), you need
to specify a remote system name or an Internet address. You must also specify the
name of the spooled file that you are sending (FILE parameter). The values for the
other parameters depend on the destination system. For some common parameter
settings, see Table 32 on page 351.
When sending spooled files with the SNDTCPSPLF command from the client (local)
AS/400 to an LPD server (remote) AS/400, perform the following steps:
1. Locate the spooled file that you want to send.
2. Start the spooled file transfer with the SNDTCPSPLF command.
Step 1 Locate the Spooled File that you Want to Send
1. Specify the WRKSPLF command to see your spooled files:
Work with All Spooled Files
Type options, press Enter.
1=Send 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Messages
8=Attributes 9=Work with printing status
Device or Total Cur
Opt File User Queue User Data Sts Pages Page Copy
QPJOBLOG HANS QEZJOBLOG QPADEV0004 RDY 10 1
QPJOBLOG HANS QEZJOBLOG P23XYG41F RDY 3 1
QPCSMPRT HANS PFEIFFER RDY 4 1
QPDCLINE HANS PFEIFFER RDY 1 1
QPJOBLOG HANS QEZJOBLOG P23XYG41 RDY 1 1
QPJOBLOG HANS QEZJOBLOG P23XYG41F RDY 7 1
QPCSMPRT HANS PFEIFFER RDY 4 1
QPCSMPRT HANS PFEIFFER RDY 4 1
QPCSMPRT HANS PFEIFFER RDY 4 1
QPCSMPRT HANS PFEIFFER RDY 4 1
Bottom
Parameters for options 1, 2, 3 or command
===>
F3=Exit F10=View 3 F11=View 2 F12=Cancel F22=Printers F24=More keys
Figure 213. Work with Spooled Files Display
346 OS/400 TCP/IP Configuration and Reference V4R4