This document provides information on receiving message CPA3394 - "Load form type '&4' device &5 writer &1" when printing through a Remote Output Queue (RMTOUTQ) and the form type changes.
Resolving The Problem
When printing operating system spooled files to a LAN attached printer using a Remote Output Queue (RMTOUTQ), you will not normally receive message CPA3394 "Load form type '&4' device &5 writer &1" when the form type changes.
Getting Support for Form Types on One or More Remote Output Queues
Remote writers can support form types; however, you must start the writer with the message option set to *INQMSG (so you get an inquiry message whenever the form type changes) or change the writer after it has started. To start the writer with form type support, use the following operating system command:
STRRMTWTR OUTQ(remote-outq-name) FORMTYPE(*ALL *INQMSG)
To change an existing writer to have form type support, use the following operating system command:
CHGWTR WTR(remote-outq-name) FORMTYPE(*ALL *INQMSG)
After you have done either of these, you will receive message CPA3394 "Load form type '&4' device &5 writer &1" in the writer's message queue whenever the form type changes. However, if the writer ends and restarts automatically or manually without specifying FORMTYPE(*ALL *INQMSG), you will no longer receive message CPA3394.
Getting Support for Form Types on All Remote Output Queues
To get form type support on all of your remote output queues each time they are started, you can change the Start Remote Writer (STRRMTWTR) command to specify FORMTYPE(*ALL *INQMSG), rather than FORMTYPE(*ALL *NOMSG). That way, you will get form type support unless the STRRMTWTR command is specifically overridden to not support form types. This can be done by copying the command to another library that is higher in the library list than QSYS and then bby using the following operating system command:
CHGCMDDFT CMD(QSYS/STRRMTWTR) NEWDFT('FORMTYPE(*ALL *INQMSG)')
Note: You can use the Change Command Default (CHGCMDDFT) command on the STRRMTWTR command that is in library QSYS, but there are two potential dangers with this, namely:
|1.||If you install a newer version of the operating system or reinstall the current version of the operating system, your changes to the STRRMTWTR command will be replaced by the settings as shipped by IBM.|
|2.||If you make an error when changing the command defaults for a command, you can cause that command to fail every time it is run. Therefore, in this case, you might not be able to get remote writers started again without changing the command defaults back or restoring the STRRMTWTR command from your installation media.|
For additional information on using the LPR Print Driver (TSPLPRD) utility, refer to the following Rochester Support Center knowledgebase document:
N1019586: Configuring a *LAN 3812 Device Description that Uses the LPR Print Driver (TSPLPRD) Exit Program
For additional information on the capabilities and limitations of RMTOUTQs and *LAN 3812 printer device descriptions, refer to the following Rochester Support Center knowledgebase documents:
N1019659: Capabilities and Limitations of Remote Output Queues (RMTOUTQs)
N1019003: Capabilities and Limitations of *LAN 3812 Printer Device Descriptions
18 December 2019