How Do I Create an OUTQ on AS400 to Print to Lasernet?
    • 15 Apr 2025
    • 2 Minutes to read
    • Contributors
    • PDF

    How Do I Create an OUTQ on AS400 to Print to Lasernet?

    • PDF

    Article summary

    You will need to create remote output queues on the AS400 for printing to Windows ® servers via TCP/IP. To do this, ensure Microsoft ® TCP/IP printing service is installed on the server (also known as the LPR/LPD printing service on newer servers).

    Follow these steps:

    1. Log into the AS400 with sufficient rights, for example, as a QSYSOPR (System Operator) or QSECOFR (Security Officer), and from the command line, use the command CRTOUTQ (Create Output Queue).

    You may not get the same field headings as stated below. This is due to the level of operator assistance set for your user login.

    1. Set the fields below to the following values:

    • Output Queue: This is the name of the printer queue as it exists on AS400. It can be up to 8 characters only.

    • Remote System: This can have two possible values:

    • *INTNETADR: You will be prompted for an IP address later (for instance, the IP address of the Windows ® server)

    • HOST NAME: If you are using a hostname, you must have a corresponding name in the host table linking it to the IP address of the Windows ® server. This can be set up using option 10 from the CFGTCP (Configure TCP/IP) command.

    • Remote Printer Queue: This is the name of the INPUT queue that you have set up on the Windows ® server. The name that you enter here is the Windows ® SHARE NAME *.

    • Writers to Autostart: If you set this to 1, you will not have to use the STRRMTWTR (start remote writer) command later on.

    • Connection Type: Set this to *IP for TCP/IP communications.

    • Destination Type: Set this to *OTHER.

    • Host Print Transform: Set this to *YES. This is the engine that converts EBCDIC to ASCII.

    • Manufacturer Type and Model: Set this to *WSCST. This is one of the parameters that host print transform uses. It stands for Workstation Customization Object.

    • Workstation customizing object: Set this to QWPDEFAULT. This parameter, together with the one above, converts the data using a vanilla or Generic Text Only driver. This means that the Windows ® server will only be receiving basic ASCII characters, Line Feeds, Carriage Returns and Formfeeds.

    • Internet Address: The IP address of the Windows ® server.

    You will only get this prompt if you have used *INTNETADR in the Remote System parameter.

    All the other entries are not relevant for printing to Lasernet and should be set according to your preferences, for example, Queue for writer messages, library settings, etc, or left at their default values.

    After clicking Enter, the AS400 should have created an OUTQ, which should be visible in the list of OUTQs using command WRKOUTQ (Work with Outqs).

    Operators should now be able to send jobs to the queue. When they are received, they will go from status RDY (Ready) to status SND (transmitting or sending to the Windows ® server) and back to status SAV if the document is tagged with a parameter (SAV *YES).

    Other Useful Commands

    • ENDWTR <Name of queue> *IMMED (End writer immediately) – Useful if the connection has stalled and you need to reset it.

    • STRRMTWTR <Name of queue> (Start Remote Writer) – Restarts the writer.

    Note

    When creating and sharing a printer on a Windows ® Server, the share name must not exceed eight characters in length; this is because AS400 can only accept up to eight characters for this Remote Printer Queue field.


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.