Defining the Printer in the IBM i Using an Output Queue Object (*OUTQ)
Prerequisites
The printer must be attached to the network and TCP/IP must be configured, so that the printer can be reached from the IBM i server by its IP address or network name.
Context
You want to define the printer in the IBM i operating system using an output queue object (*OUTQ).
Procedure
To create an output queue for a network attached printer or print server, enter the following command:
Make sure that you create the output queue in a library that is in the library list of the SAP work processes, such as QUSRSYS.
MFRTYPMDL(<printer type>)
The parameter MFRTYPMDL ( Manufacturer type and model) is used together with TRANSFORM(*YES) and offers a variety of predefined printer drivers. It is used when sending EBCDIC based spool data from a non-SAP (legacy) application to an ASCII based printer, for example when printing the spooled output of IBM i commands that offer an option OUTPUT(*PRINT). Choose a type and model similar to the printer that you are using with this output queue.
To configure the remote output queue for the default size of the paper loaded in the printer, you can specify a special value for the manufacturer type and model, such as MFRTYPMDL(*WSCSTA4) for A4 sized paper (210 x 297 mm).
WSCST(<library name>/<name>)
If you specify MFRTYPMDL(*WSCSTA4), you must specific a workstation customization object in parameter WSCST of the command CRTOUTQ. To create a workstation customization object (*WSCST), enter the following commands: