Chapter 20. AS/400-to-NetWare Printing

* figure neicube not displayed.
When you have Enhanced Integration for NetWare installed, you can print from AS/400 to a NetWare printer that uses the standard NetWare print support and an AS/400 remote output queue and remote writer. 
NetWare uses a print queue, a print server, and a printer to allow workstations to print to a network printer. The print queue is the object that temporarily holds the print job file until the job is printed. The print server provides the service of sending the print job to the printer. The print server monitors the print queue and the printer. 

To set up NetWare print support, see "NetWare Printing"

You cannot print from a NetWare server to an AS/400 printer. However, there are other facilities to provide this support, such as HostPrint/400. 

Figure 20-1 illustrates AS/400-to-NetWare remote system by printing when Enhanced Integration for NetWare is installed. The NetWare server must have NetWare 3.12 or 4.1 installed. 

Figure 20-1. AS/400-to-NetWare Printing Environment

* figure rv3d675 not displayed.
 

In this environment, an AS/400 user ((1)) requests print services from the NetWare server. Note that the NetWare server can either be on the Integrated PC Server or a PC. The print job file is sent to the AS/400 remote output queue ((2)). The Remote Writer for that output queue then sends data to the NetWare print queue ((3)). The NetWare server acts as the print server and monitors the print queue as well as the printer. When the printer can process the job, the server sends the print job to the assigned printer ((4)). 


* figure note not displayed.
As each user's spool job is processed on the output queue, AS/400 authenticates a connection for the user to the appropriate server. Each user must either have a NetWare authentication entry (see Chapter 16. "NetWare Authentication Entries and Connections") or use the STRNTWCNN command to start a NetWare connection manually. The easiest way to set this up for your users is with user enrollment (see Chapter 21. "Managing User Enrollment"). You can automatically set up your AS/400 users in the NDS tree or 3.12 server where the print queue object is. 


Ideally, each user has an authentication entry authorizing them to the specified NetWare print queue. If users don't have an authentication entry, they must specify AUTJOB(*ANY) on the STRNTWCNN command when they start a connection to NetWare. The writer job uses that connection to print the file on NetWare. 


* figure task not displayed.
To print from an AS/400 system to a NetWare printer: 
  1. Create an output queue on the AS/400 by entering the Create Output Queue (CRTOUTQ) command. 
  2. When the Create Output Queue (CRTOUTQ) display appears, press prompt (F4) and then change the values that areshown in bold in Figure 20-2

  3. Figure 20-2. CRTOUTQ Display, Part 1

+--------------------------------------------------------------------------------+
|                          Create Output Queue (CRTOUTQ)                         |
|                                                                                |
| Type choices, press Enter.                                                     |
|                                                                                |
| Output queue . . . . . . . . . . > MYPRINTQ      Name                          |
|   Library  . . . . . . . . . . . >   *CURLIB     Name, *LIBL, *CURLIB          |
| Maximum spooled file size:                                                     |
|   Number of pages  . . . . . . .   *NONE         Number, *SAME, *NONE          |
|   Starting time  . . . . . . . .                 Time                          |
|   Ending time  . . . . . . . . .                 Time                          |
|                + for more values                                               |
| Order of files on queue  . . . .   *FIFO         *SAME, *JOBNBR, *FIFO         |
| Remote system  . . . . . . . . .>                                              |
|IBM_TREE1                                                                       |
|                                                                                |
|                                                                                |
|                                                                                |
| Remote printer queue . . . . . .   .PUBS_QUEUE.RCHASM.IBMROCH                  |
|                                                                                |
|                                                                                |
|                                                                                |
|                                                                      More...   |
| F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel      |
| F13=How to use this display        F24=More keys                               |
|                                                                                |
+--------------------------------------------------------------------------------+
  1. Make sure the Remote printer queue matches the NetWare Print Queue Name. 

  2. * figure note not                      displayed.
    For DESTTYPE(*NETWARE3), use the name of the server for the RMTSYS parameter value and the name of the NetWare print queue for the (RMTPRTQ) parameter value. 


    For DESTTYPE(*NDS), you can use either the name of the tree or the special value *NWSA for the RMTSYS parameter value. If you use *NWSA, the tree name is from DSPNWSA OPTION(*NETWARE). The RMTPRTQ value can be a distinguished name that begins with a period. If the name does not begin with a period, the name is a partial name and is used in conjunction with the NDS context specified in the system network server attributes (DSPNWSA) to form the distinguished name of the NetWare print queue. 

  3. Press PgDn to display the next page, as shown in Figure 20-3

  4.  
Figure 20-3. CRTOUTQ Display, Part 2
+--------------------------------------------------------------------------------+
|                          Create Output Queue (CRTOUTQ)                         |
|                                                                                |
| Type choices, press Enter.                                                     |
|                                                                                |
| Writers to autostart . . . . . .   *SAME         1-10, *SAME, *NONE            |
| Queue for writer messages  . . .   *SAME         Name, *SAME                   |
|   Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB          |
| Connection type  . . . . . . . .> *IPX          *SAME, *SNA, *IP, *IPX...      |
| Destination type . . . . . . . .> *NDS          *SAME, *OS400, *OS400V2        |
| Host print transform . . . . . .   *SAME         *SAME, *YES, *NO              |
| Manufacturer type and model  . .> *IBM4039HP                                   |
| Workstation customizing object     *SAME         Name, *SAME, *NONE            |
|   Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB          |
| Destination options  . . . . . .   *SAME                                       |
|                                                                                |
|                                                                                |
| User defined option  . . . . . .   *SAME         Option, *SAME, *NONE          |
|                + for more values                                               |
|                                                                                |
|                                                                                |
|                                                                      More...   |
| F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel      |
| F13=How to use this display        F24=More keys                               |
|                                                                                |
+--------------------------------------------------------------------------------+
  1. Change the Manufacturer type and model to match your printer. 
  2. You might want to select one of the following destination options
  3. *NOWAIT 
    The spool file is removed from the AS/400 output queue as soon as the entire file is sent to the NetWare queue. If you do not select this option, the spool file remains in the AS/400 output queue until the file is removed from the NetWare queue, which occurs either when the file is printed or when a NetWare utility is used to delete it. 

    * figure note not                          displayed.
    The owner of the spooled file must be enrolled as a NetWare user. 
    *BANNER='text' 
    Specify up to 12 characters that you want to print on a NetWare banner page. The banner page, which precedes the NetWare print job, also prints the User name. 
    Note: You must type *BANNER in uppercase letters, enclose the text in single quotes, and make sure there are no spaces before or after the equal sign. 
    The remote output queue, MYPRINTQ, is created. 

    * figure tip not displayed.
    When you create a remote output queue, writers are automatically started to it if the AUTOSTRWTR parameter value is other than *NONE. 
  4. To begin sending spooled output files from the MYPRINTQ remote output queue, enter the Start Remote Writer (STRRMTWTR) command. 
  5. When the Start Remote Writer (STRRMTWTR) display appears, press prompt (F4) and then change the values that are shown in bold in Figure 20-4

  6. Figure 20-4. STRRMTWTR Display

+--------------------------------------------------------------------------------+
|                         Start Remote Writer (STRRMTWTR)                        |
|                                                                                |
| Type choices, press Enter.                                                     |
|                                                                                |
| Output queue . . . . . . . . . .   MYPRINTQ      Name, *ALL                    |
|   Library  . . . . . . . . . . .     *CURLIB     Name, *LIBL, *CURLIB          |
| Queue for writer messages  . . .   *OUTQ         Name, *OUTQ, *REQUESTER       |
|   Library  . . . . . . . . . . .     *LIBL       Name, *LIBL, *CURLIB          |
| Form type options:                                                             |
|   Form type  . . . . . . . . . .   *ALL          Form type, *ALL, *STD, *FORMS |
|   Message option . . . . . . . .   *NOMSG        *NOMSG, *INQMSG, *MSG...      |
|                                                                                |
|                                                                                |
|                                                                                |
|                                                                                |
|                                                                                |
|                                                                                |
|                                                                                |
|                                                                                |
|                                                                                |
|                                                                         Bottom |
| F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel      |
| F13=How to use this display        F24=More keys                               |
|                                                                                |
+--------------------------------------------------------------------------------+
    AS/400 sends spooled output files to the remote printer queue, MYPRINTQ, on the NetWare network. 

    The NetWare server receives the spooled files in a print queue. Refer to the NetWare documentation for information on how to print jobs from NetWare print queues. 


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]