Note: If you create the spooled file with the current interactive job, specify an
asterisk (*) for the job name parameter. Leave the user and job number
blank.
Note: Use the command line at the bottom of Figure 214on page 347 to enter the
SNDTCPSPLF or LPR command. Specify the spooled file job information as
follows:
LPR FILE(File) Job(Number/User/Job) SPLNBR(FileNbr)
Press F4 (Prompt). The system fills in the job information in the matching
fields of Figure 215.
Sending Spooled Files to an AS/400 at V2R3 or V3R0M5
Using LPR to send spooled files to a V2R3 system or a V3R0M5 system requires
that you apply the following PTFs:
vV2R3 – PTF SF16482 or higher
vV3R0M5 – PTF SF16483 or higher
The phrase

or higher

means any PTFs that take the place of these PTFs.
How the System Sends a Spooled File from an AS/400 System toAnother AS/400 System
When you use TCP/IP to send a spooled file to anotherAS/400 system and the file
is not transformed to ASCII, implementation-specific extensions to LPR are
available to retain the spooled file attributes. LPR still sends the control file because
it is part of the protocol, and the receiving AS/400 checks for the control file
extended print attribute. From the extended print attribute, the receiving AS/400
determines that another AS/400 system sent the spooled file.
In this case, the system sends all of the spooled file attributes in the data file. It
does not use the option and attribute information in the control file. Except for Job
ID and output queue, all of the attributes of the spooled file are the same on both
the sending and receiving systems. The system sends the job user ID that ran the
Send TCP/IP Spooled File (LPR)
Type choices, press Enter.
Remote system .........>sysnam123
Printer queue .........>pfeiffer/pfeiffer
Spooled file..........>qpcsmprt Name
Jobname............>p23xyg41f Name, *
User.............> hans Name
Number............> 058480 000000-999999
Spooled file number ...... 21-9999, *ONLY, *LAST
Destination type........>*as400 *AS400, *PSF2, *OTHER
Transform SCS to ASCII.....>*no *YES, *NO
Bottom
F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
F13=How to use this display F24=More keys
Figure 215. Spooled File Job Information in LPR Display
348 OS/400 TCP/IPConfiguration and Reference V4R4