additional parameters and specify the destination-dependent option
DESTOPT(XAIX) on the SNDTCPSPLF command. Note that the option is
capitalized.
Verify that multiple copies are sent correctly by using the SNDTCPSPLF command
with a test spooled file that has the COPIES attribute set to two or more. Sending
with the default method when LPD requires the XAIX option prints only a single copy
with no error messages. Sending with DESTOPT(XAIX) specified when LPD
requires the default method results in the following error message:
TCP3701 Send request failed for spooled file ...
Youcan still print a copy after receiving this error message.

Destination-dependent options

Youalso use this field for specifying attributes of the LPR/LPD protocol. The AS/400
LPR command supports
filters
, which indicate how to print the file (for example,
whether the first column is carriage control characters). Youcan change the default
jobname for the separator page by specifying Jimmediately followed by the desired
job name. For a list of the attributes that are sent in the control file, see “LPR
Command” on page 345.
The SEPPAGE parameter specifies whether a separator page is requested when
the spooled file is printed on the remote system. The default value is *YES. The LPD
implementation determines the printing of the separator page. Some LPD
implementations ignore this request and print (or do not print) a separator page by
default.
Some LPD systems understand additional implementation-specific control file lines.
When sending to one of these systems, you can append additional lines to the
control file by specifying them on the (DESTOPT) parameter. Separate the options
with spaces to send them in the control file exactly as typed. The options must be
described in the LPD documentation for that system.
Because other systems might not support the attributes that are associated with a
spooled file, the spooled file that is created on the destination system might not be
identical to the one that you sent.
Transformation of Spooled Files
If the spooled file has a printer device type of Systems Network Architecture
character string (*SCS) or Advanced Function Printing Data Stream (*AFPDS), you
can convert the data stream to ASCII using the host print transform (HPT) on the
AS/400 prior to sending. Use the TRANSFORM parameter on the SNDTCPSPLF
command to convert the data stream to ASCII. For information on host print
transform, see the
Printer Device Programming
book. Youcannot transform an
Intelligent Printer Data Stream (*IPDS). If the printer device type is *IPDS, no
conversion takes place, the file is not sent, and an error message is issued.
Youalso cannot convert files of device type *SCS that contain IPDS* to ASCII. If
you attempt to send a spooled file containing IPDS data using the SNDTCPSPLF
command, the send request is canceled. An example is some spooled files that you
create with the OfficeVision licensed program. These spooled files are intended to
print to an IPDS printer and contain IPDS data. Therefore, you cannot convert the
spooled files to ASCII.
350 OS/400 TCP/IPConfiguration and Reference V4R4