Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: NetWare 4.1/9000 Installation and Administration Guide > Chapter 7 Print Services

Printer Configuration

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

Ov erview of host printing configuration steps:

Step 1: Set up your printer in the HP-UX environment using HP-UX system administration tools. Make sure the printer is accepting print jobs from HP-UX.

Step 2: From a NetWare client, using NWADMIN or PCONSOLE, create the NetWare print queue, print server, and printer.

Step 3: From an HP-UX terminal session, use SAM to complete the printer mapping between NetWare and HP-UX.

Step 4: After completing the configuration, start the host pserver and nprinter.

Step 5: Check printing from a NetWare client.

Figure 7-1 shows the relationship between host print services and NetWare print services. The values in Figure 7-1 are used in the printer configuration example that follows.

The purpose of the pserver daemon is to load the print server on the NetWare/9000 server and establish print services for the network. Note that the print server can run on a separate HP 9000. In that case only the transport must be up on that server, not both the transport and the services as is the case here.

The purpose of the nprinter daemon is to allow NetWare servers on the network to use a local HP-UX printer. The nprinter daemon acts somewhat more like a server than a client in regard to how it communicates with the print server. The nprinter daemon waits to receive service requests from the print server and the responds to those service requests. Its key task is spooling a print job from a NetWare print queue to a host system print queue.

You can use the Printing Worksheet included in this chapter to help you configure host printers for use with NetWare. The first entry on the worksheet uses the example values shown in Figure 7-1.

Figure 7-1 Host-Based Printing

Host-Based Printing

Step 1: Set Up Printer

Summary of configuration prerequisites:

  1. Set up your printer in the HP-UX environment using HP-UX system administration tools.

  2. Check that the printer is accepting print jobs from HP-UX. To verify host printers, use SAM.

  3. Check that you have unique names for each of the printer configuration items: HP-UX printer, NetWare print queue, printer name, and the NetWare 9000 print server.

  4. Fill out the printer configuration worksheet.

Step 2: Configure Printing from NetWare (PCONSOLE)

The steps to configure the printer using PCONSOLE are summarized in the Print Services manual. Most of the configuration for printing is completed on the client. The only tasks completed on the HP 9000 server are:

  • Setting up and configuring local printers

  • Establishing the configuration parameters for the pserver and nprinter daemons

These HP 9000 steps will be described in the next two sections.

Step 3: Configure PSERVER Parameters

A summary of the steps to configure the print server parameters using SAM are described below. Refer to the SAM online help for more information about individual fields.

  1. Log into the system as root.

  2. At the HP-UX prompt, type: sam

  3. Double click Networking and Communications at the SAM main window.

  4. Double click NetWare at the Networking and Communications window.

  5. Double click File and Print Services Configuration at the NetWare window.

  6. Optionally, Configure Print Server Parameters. Choose Set Print Server Parameters from the "Actions" menu to open the Set Print Server Parameters window.

    1. Enter the information about the print server. To do so, press the Tab key to move through the data entry fields.

    2. Add the print server name The default is the <local NetWare server name>_ps.

    3. Add the PSERVER name context. The default is none. If this context is not specified, the print server cannot authenticate as an NDS object and must run in bindery mode.

    4. Add the name of the preferred NetWare server of print server. The default is the local NetWare server.

    5. Add the preferred tree of the print server. The default is the local tree.

  7. Activate the OK button to perform the task(s) and return to the Services Configuration Window.

Step 4: Configure Print Services (SAM)

Once you have set the print server parameters, you may configure the print server as described below. Refer to the online help for descriptions of the individual fields. Use the worksheets provided at the end of the chapter to create a list of the printer configuration information.

  1. Log into the system as root.

  2. At the HP-UX prompt, type: sam

  3. Double click Networking and Communications at the SAM main window.

  4. Double click NetWare at the Networking and Communications window.

  5. Double click File and Print Services Configuration at the NetWare window.

  6. Configure Print Services. Choose Configure Print Services from the "Actions" menu to open the Configure Print Services menu.

  7. Required for NPRINTER daemon. To add the host print configuration, select Configure Host Printer from the menu and fill in information about the following fields. Refer to the SAM online help for descriptions of the individual fields.

    1. Add the Host Printer Name. Uniquely describes the printer or queue.

    2. Add the Host ID (Queue). Name assigned to the host_printer to which the nprinter will be spooling jobs. The nprinter daemon uses this name to find and open the host printer queue.

    3. Add the Priority level. Allows you to assign a priority level to the printer.

    4. Add the form name (optional). Allows you to identify the form for which the queue or printer is configured.

  8. Required for NPRINTER daemon. To add the remote printer configuration information, select the Remote Printer Configuration menu item and fill in information about the following fields. Refer to the SAM online help for descriptions of the individual fields.

    1. Add the Print Server Name. Identifies the print server to which the nprinter daemon attaches the printer defined in this file.

    2. Add the Printer Slot Number. Identifies the print server slot number. The slot must be from 0-255 and be configured as a remote printer.

    3. Add the Host Printer Name. Indirectly identifies the host printer queue that the nprinter daemon will use for this printer. This name can be, but doesn't have to be, the NetWare name for this printer.

  9. Required for NPRINTER daemon. To add the remote printer parameters, select the Set the Remote Printer Parameters and fill in the following fields. Refer to the SAM online help for descriptions of the individual fields.

    1. Add the Max Wait Packet Time. Specifies the maximum time that the nprinter daemon waits to receive packets before going on to other processes (default 2500 msecs).

    2. Add the Status Check Time Interval. Specifies the basic interval the nprinter daemon waits between doing status checks on all printers (default 5 secs).

    3. Add the Idle Count Before Job End. Specifies the threshold value for determining when a job ends if the printer does not immediately receive another job. The value of this parameter is multiplied by the Status_Check_Interval to determine the actual time (default 2).

    4. Add the Idle Count Before Prt Status. Specifies the threshold value for determining when the nprinter daemon does a status on an idle printer and then notifies the print server if the status has changed. The value of this interval is modified by the Status_Check_Interval to determine the actual time (default is 20).

    5. Add the Error Count Before Inform. Prevents the scrolling of error messages that occur in rapid succession (default is 5).

    6. Add the Warning Count Before Inform. Prevents the scrolling of warning messages that occur in rapid succession (default is 5).

  10. Required for Local Printing. To add the local printing configuration, select Configure Local UNIX Printer from the menu and fill in information about the following fields.

    In NetWare 4.1 print servers can print directly through the UNIX LP system to local (auto-load) printers. To do so, the pserver daemon must be running.

    Refer to the SAM online help for descriptions of the individual fields.

    1. Add the Print Server Name. Identifies the print server name.

    2. Add the Printer Number. Identifies the print server slot number. The slot must be from 0-255 and it cannot be configured as a remote printer.

    3. Add the Host ID (Queue). Identifies the host printer queue.

    4. Add the Priority level. Allows you to assign a priority level to the printer.

    5. Add the form name (optional). Allows you to identify the form for which the queue or printer is configured.

Step 5: Start Host Print Services

A summary of the steps to start PSERVER and NPRINTER is described below .

  1. Start PSERVER and NPRINTER, if needed, by running the following commands:

    pserver

    nprinter

    You are prompted for the print server password if it is not present in the password file or not passed as a parameter.

  2. Test printing a file:

    1. From a NetWare client, log into the NetWare 9000 server.

    2. Choose a text file to print and use the NetWare command:

      F:> NPRINT testfile.ext q=printqueue

Where testfile.ext is a file you can print (for example, c:\AUTOEXEC.BAT), and printqueue is the NetWare print queue (for example, LJ2Q).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.