Destination Options printing from AS/400 to RPM

Tue, 06/11/2019 - 16:25 By Dave Brooks

Q: Your AS/400 setup instructions show to place "XAIX XAUTOQ" into the "Destination Options" parameter in the AS/400 OUTQ.  What do these options do, and what other options can I use?

A: You can find a description of the XAUTOQ parameter here.

The "Destination Options" parameter specifies the destination-dependent options. These options may be specific to a particular implementation of an LPD print server. When this parameter is not specified, the SNDTCPSPLF command sends default options that are common to most LPD print servers. The options defined by this parameter are inserted into the LPR/LPD control file generated by the SNDTCPSPLF command, one option per line, and sent to RPM.

The options specified by this parameter must have the following format:
"option1 option2 option3...optionN"
Each option is separated from the next by one or more spaces.

Options typically have a format of <control character><value>. An example is
J specifies the job name for the banner page and "Job_name" is what RPM would print on the banner page. SNDTCPSPLF examines the first character of each option to determine if it is a reserved control character. If any of the following control characters are specified, RPM ignores the option and generates a warning message.

1, 2, 3, 4, C, H, I, k, L, M, N, P, S, T, U, W

For example, "Class=ASCII" is not allowed because the "C" control character is reserved for use by the SNDTCPSPLF command. However, "-Class=ASCII" is permitted. The control character "X" is allowed, but the value of "AS/400" used with it is not allowed. For example, "XRPM" can be specified, but "XAS/400" cannot be.

The SNDTCPSPLF command reserves the option "XAS/400" to indicate to another AS/400 that the request is coming from an AS/400.

The option "XAIX" controls how multiple copies are printed. This option is not the default, but should always be used when printing to RPM. XAIX specifies that the data and control files are to be sent multiple times, once for each copy. The default is to send the data and control files once, with multiple print commands in the control file.

c, d, f, g, l, n, p, r, t, v

If one of these characters is specified as the first character in a destination option, the character is used on the "print file" command in the control file. Only the first occurrence of one of these characters in this position is used in the control file. Subsequent use of these characters in this position is ignored. If none of these options is specified, the default character "l" is used on the "print file" command, which prints the file "as is" without filtering out any control characters.