Sends a spooled file to be printed on a remote system. This is the iSeries™ server version of the TCP/IP LPR command.
unsigned int CWB_ENTRY cwbOBJ_SendTCPSplF( cwbOBJ_ObjHandle splFHandle, cwbOBJ_ParmHandle parmListHandle, cwbSV_ErrHandle errorHandle);
The following list shows common return values.
The equivalent of an iSeries server send TCP/IP spooled file (SNDTCPSPLF) command will be issued against the spooled file. The following parameter key's MUST be set in the parmListHandl object:
Specifies the remote system to which the print request is sent. May be a remote system name or "*INTNETADR".
Specifies the name of the destination print queue.
The following parameter key's may be set in the parmListHandle object:
Specifies whether to delete the spooled file after it has been successfully sent. May be "*NO" or "*YES". "*NO" is the default.
Specifies a destination-dependant option. These options will be sent to the remote system with the spooled file.
Specifies the type of system to which the spooled file is being sent. When sending to other iSeries systems, this value should be "*AS/400". May also be "*OTHER", "*PSF/2". "*OTHER" is the default.
Specifies the internet address of the receiving system.
Specifies the manufacturer, type and model when transforming print data for SCS to ASCII.
Specifies wether the print data is to be transformed for SCS to ASCII. May be "*NO" or "*YES". "*NO" is the default.
Specifies the name of the workstation customizing object.
Specifies the name of the workstation customizing object library.