home *** CD-ROM | disk | FTP | other *** search
- INTEL NETPORTEXPRESS(TM) XL PRINT SERVER
-
- RELEASE NOTES FOR AIX AND HP-UX
-
- Instructions for installing and printing with the NetportExpressTM XL
- Print Server from an AIX or HP-UX Host. These instructions apply to both
- Ethernet and Token Ring networks. Supported versions are:
-
- AIX 3.2
- HP-UX 9.03
-
- NOTE: To set up other supported UNIX hosts, please see the manual,
- "TCP/IP Printing using the Intel NetportExpress XL Print Server". Other
- supported hosts are:
-
- SCO 3.2
- SUN 4.1.x
- Solaris 2.1 & 2.2
- UnixWare
-
- CONTENTS
-
- Setting Up and Printing with AIX
- Setting Up and Printing with HP-UX
-
- SETTING UP AND PRINTING WITH AIX
-
- Setting up the NetportExpress XL print server for printing with AIX
- involves the following steps:
-
- 1. From Windows Netport Manager, configure the XL for TCP/IP
- printing.
- 2. From the AIX host, set up the XL as a virtual printer.
- 3. From the AIX host, test the installation.
-
- AIX: FROM NETPORT MANAGER, CONFIGURE THE XL FOR TCP/IP PRINTING
-
- To install a network printer for AIX, first configure the NetportExpress
- XL print server for TCP/IP printing, using the Windows program Netport
- Manager.
-
- 1. From a Novell workstation that uses Microsoft Windows
- version 3.1, start Netport Manager.
-
- 2. Select the NetportExpress XL you want to configure.
-
- 3. Choose Configure / Protocols.
- Select TCP/IP Print Server, then click Configure.
-
- Give the XL an IP address that will be used for parallel port 1.
- If you will be using parallel port 2 or the serial port, click the
- "LPD" button and assign an IP address for parallel port 2 or the
- serial port.
-
- For more detail on filling in the fields for TCP/IP printing,
- please refer to online help, or the manual, TCP/IP Printing Using
- the Intel NetportExpress XL Print Server.
-
- 4. Make a note of the IP address(es) you assigned to the XL.
- You will need them when setting up the AIX host.
-
- AIX: FROM THE AIX HOST, SET UP THE XL AS A VIRTUAL PRINTER
-
- To set up the AIX host, you will need:
-
- - The IP address of each XL port.
- - An alias name for the XL (optional).
- - A name for a print queue. Users will see this name when they print
- to the XL.
-
- 1. Before proceeding, make sure you can PING (confirm IP
- communication between the host and the XL):
-
- # ping <IP address>
-
- For example:
-
- # ping 128.215.219.44
-
- If you can't PING, check the following: gateway setup, subnet
- numbers, and IP addresses in Netport Manager.
-
- 2. Copy the configuration file from the Intel archive to the AIX
- host.
-
- If the archive has been downloaded directly to your AIX host
- (from the Internet ftp server, for example), enter these commands:
-
- # tar xvf npunix.tar ./intl/aix/intel.config
- # cd ./intl/aix
- # cp intel.config /usr/lib/lpd/pio/etc/intel.config
-
- If the archive is on a floppy diskette, enter the following
- commands, where fd0 is the device name for your floppy drive:
-
- # tar xvf /dev/fd0 ./intl/aix/intel.config
- # cd ./intl/aix
- # cp intel.config /usr/lib/lpd/pio/etc/intel.config
-
- 3. Edit the /etc/hosts file and add a line for each XL port in use.
- Each line contains the IP address defined in Netport Manager and
- an alias. (The alias name is an arbitrary name used later in
- SMIT.)
-
- For example:
-
- 128.215.219.44 np_port1
- 128.215.219.45 np_port2
-
- 4. Using SMIT, configure the XL as a virtual printer:
-
- # smit virprt
- Choose "Add a Virtual Printer".
- Choose "Intel NetportExpress XL Print Server".
- Enter the IP address or alias as defined in /etc/hosts (step 3.)
- Choose "Do NOT make this system a BOOTP / TFTP server".
- Choose a printer from the list, to be attached to the XL.
- Choose header or trailer pages (optional).
- Enter the printer queue name (users use this when they print.)
- An example might be, "laserqueue"
- Choose whether that queue name should be the default name.
- Press enter to continue...
-
- 5. Repeat from "Add a Virtual Printer" for additional ports.
-
- Press F3 to exit SMIT.
-
- AIX: TEST THE SETUP BY PRINTING SOMETHING
-
- To test printing with AIX with the XL, use a command such as QPRT.
- For example:
-
- # qprt -P laserqueue /etc/hosts
-
- Setting up the XL for printing with AIX is now complete.
-
- SETTING UP AND PRINTING WITH HP-UX
-
- Setting up the NetportExpress XL print server for printing with HP-UX
- involves the following steps:
-
- 1. From Windows Netport Manager, configure the XL for TCP/IP
- printing.
- 2. From the HP-UX host, set up the XL.
- 3. From the HP-UX host, test the installation.
-
- HP-UX: FROM NETPORT MANAGER, CONFIGURE THE XL FOR TCP/IP PRINTING
-
- To install a network printer for HP-UX, first configure the
- NetportExpress XL print server for TCP/IP printing, using the Windows
- program Netport Manager.
-
- 1. From a Novell workstation that uses Microsoft Windows
- version 3.1, start Netport Manager.
-
- 2. Select the NetportExpress XL you want to configure.
-
- 3. Choose Configure / Protocols.
- Select TCP/IP Print Server and a port, then click Configure.
-
- For more detail on filling in the fields for TCP/IP printing,
- please refer to online help, or the manual, TCP/IP Printing Using
- the Intel NetportExpress XL Print Server.
-
- 4. Make a note of the IP address for the XL.
- You will need it when setting up the HP-UX host.
-
- HP-UX: FROM THE HP-UX HOST, SET UP THE XL
-
- You can perform either an automated or a manual installation. The
- automated installation uses the npinstall installation script. The
- manual installation guides you through the creation of a printcap file
- for printing with the Intel-provided iprint utility.
-
- Before proceeding with the HP-UX setup, make sure you can PING (confirm
- IP communication between the host and the XL):
-
- # ping <IP address>
-
- For example:
-
- # ping 128.215.219.44
-
- If you can't PING, check the following: gateway setup, subnet
- numbers, and IP addresses in Netport Manager.
-
- The following sections describe:
-
- Automated setup for an HP-UX host using npinstall
- Manual setup for an HP-UX host using the iprint utility
- Using iprint as a stand-alone print filter
- Setting up the printcap file
- Setting up iprint for lp printing
- Getting XL print status information
-
- HP-UX: AUTOMATED SETUP FOR AN HP-UX HOST USING NPINSTALL
-
- To use npinstall:
-
- 1. Use Netport Manager on a Novell workstation and follow
- the XL configuration instructions contained in Chapter 1
- of the Complete Guide.
-
- 2. On the UNIX host, change to the directory in which you
- want the software installed. The tar command creates the
- ./intl/hpux subdirectory.
-
- 3. Copy the npinstall file from the tar diskette to the ./intl
- subdirectory on your host system. One way to do this is to
- type the following:
- tar xvf <device_name> ./intl/npinstall
- For Example:
- tar xvf /dev/floppy/c201d0s0 ./intl/npinstall
-
- 4. Copy the HP-UX 9.03 operating system files you need by typing:
- tar xvf <device_name> ./intl/hpux
- For Example:
- tar xvf /dev/floppy/c201d0s0 ./intl/hpux
-
- 5. Change to the ./intl subdirectory.
-
- 6. From the system prompt, type:
- npinstall
-
- 7. When prompted, provide the following configuration parameters:
- -Operating system to configure (Select "5" for HP-UX)
- -XL's IP address
- -XL's port number to configure (parallel 1 [LPT1],
- parallel 2 [LPT2], or serial [COM1])
- -Printer mode (Text, PostScript, or both for autosensing printers)
- -The printer name
- -Whether you want to include a banner page with print jobs 8
-
- To test configuration, print a test file when npinstall prompts you.
-
- HP-UX host configuration for the XL should now be complete.
-
- Troubleshooting: If you run npinstall and it seems that the installation
- did not work correctly, refer to the following instructions for details
- about working with iprint, lp, and the printcap file.
-
- The npinstall script looks for the Intel-provided iprint, lp_scrpt, and
- sample_printcap files in the./intl/hpux subdirectory. Be sure the
- operating system specific information you need is in the ./intl/hpux
- subdirectory, and the npinstall utility is in the ./intl subdirectory
-
- HP-UX: MANUAL SETUP FOR AN HP-UX HOST USING THE IPRINT UTILITY
-
- The manual procedures are for setting up printing for either iprint as a
- stand-alone utility, or for lp together with iprint. When using iprint
- and lp together, install the iprint utility on the UNIX host before
- invoking the lp print spooler for printing. You should use the provided
- shell script program called lp_scrpt instead of writing your own. The
- lp_scrpt program takes the parameters passed to the lp spooling system
- and invokes iprint. All you have to do is edit the program to give it
- the pathname to iprint.
-
- HP-UX: USING IPRINT AS A STAND-ALONE PRINT FILTER
-
- The user can print a job using iprint as a stand-alone print filter,
- without referencing the printcap file, by typing:
-
- # cat <file_name> | iprint <ipaddress> job=<job num> <port_number> -pc
-
- For example:
-
- # cat test.txt | iprint 192.9.200.2 job=1 3001 -pc
-
- You must correctly install the iprint utility before you can set up the
- printcap file. Receipt of a printed file when you type this command
- indicates correct iprint installation. Perform the procedure described
- in "Automated setup for an HP-UX host using npinstall" to ensure correct
- installation of the iprint utility. For more information, see Chapter 9
- in TCP/IP Printing Using the Intel NetportExpress XL Print Server.
-
- NOTE, Job Numbers (job=): The print job numbers can be any positive
- number. Negative numbers will cause the system to hang.
-
- HP-UX: SETTING UP THE PRINTCAP FILE
-
- HP-UX users can print to multiple TCP/IP configured ports on the XL. If
- you do not use npinstall, you must manually create a printcap file in
- the /etc directory. This file contains the required configuration
- parameters, as described in "Setting up iprint for lp printing." The use
- of a printcap file is not native to HP-UX spoolers. However, Intel has
- provided the means for you to use iprint in these environments. Single-
- space all entries in the file. Do not include any blank lines. Each
- command line ends with a colon backslash (:\) if the next line is a
- continuation of the file entry. The final line in the entry must end
- with a colon (:). (Do not type the circled numbers shown at the left of
- each line in the sample printcap file provided below. They reference
- the description of each line in the left margin.)
-
- The printcap file for the HP-UX environment must include the following
- configuration parameters:
-
- - Printer name. This must be the first entry in the printcap
- file, there can be no spaces between these names.
- - Device name
- - Output filter designation
- - XL's IP address
- - XL's port number to configure (parallel 1 [LPT1],
- parallel 2 [LPT2], or serial [COM1])
- - PostScript designation if necessary
-
- NOTE, TCP port numbers:
- For Parallel Port 1, use 3001.
- For Parallel Port 2, use 3002.
- For the Serial Port, use 2501.
-
- The example printcap file shown below defines an HP LaserJet IIIsi for
- printing PostScript files over the XL's first parallel port.
-
- Sample HP-UX printcap file entry using iprint with the native spooling
- system (lp)
-
- 1 lj3ps|LaserJet_IIIsi|LaserJet_IIIsi_on_port_1:\
- 2 :lp=/dev/lj3ps:\
- 3 :of=/usr/intl/hpux/iprint:\
- 4 :intl_n=192.9.200.2:\
- 5 :intl_p=3001:
-
- Include these additional entries in the printcap file for PostScript
- printers and add a backslach (\) to the end of line 5:
-
- 6 :mx#0:\
- 7 :sh:\
- 8 :sf:\
- 9 :intl_text=disable:
-
- HP-UX Printcap file entry descriptions for lp printing with iprint
-
- 1 lj3ps is an example printer name, LaserJet_IIIsi is an example of
- an alternate printer name, and LaserJet_IIIsi _on_port_1 is an
- example of an optional comment you can enter. Do not use spaces in
- this line.
- 2 This is the command you enter to define a dummy device name. For
- simplicity, you can use the printer name for the device name.
- 3 This is the command you enter to designate iprint and its
- directory location as the output filter.
- 4 This is the command for defining the XL's IP address where
- 192.9.200.2 is an example IP address.
- 5 This is the command for defining the XL's TCP port IP address. The
- XL's LPT1 is port 3001, LPT2 is port 3002, and COM1 is 2501.
-
- Include lines 6 through 9 below only if you are creating a printcap file
- entry for a PostScript printer.
-
- 6 This is the command for unlimited buffer space.
- 7 This is the command to suppress printing of a burst page
- headersheet.
- 8 This is the command to suppress form feeds.
- 9 This is the command required for PostScript printing.
-
- HP-UX: SETTING UP IPRINT FOR LP PRINTING
-
- To configure your HP-UX host so that it can initiate a print job from
- lp:
-
- 1. To determine if your system supports lp type:
- ps -ef | grep -v grep | grep lpsched
- The system response will be similar to the following:
- lp 18732 10Jul94 /usr/lib/lpsched
-
- 2. On the UNIX host, change to the directory in which you
- want the software installed. The tar command creates the
- ../intl/hpux subdirectory in that directory.
-
- 3. Copy the Intel print utility and sample printcap file from
- the tar diskette to your host system. One way to do this is
- to type:
- tar xvf <device_name> ./intl/hpux
-
- When complete, the subdirectory will contain the iprint, lp_scrpt,
- and sample_printcap files.
-
- 4. Create and edit the /etc/printcap file to include an entry for
- each printer on the XL. For more information, see "Setting up the
- printcap file" on the previous page.
-
- 5. Create a special device file for each printer. If you are
- printing to a printer called lj3ps, create a device by the same
- name. The major number is 3 and the minor number is 2 for HP-UX.
-
- For example:
- mknod /dev/lj3ps c 3 2
- chmod 0600 /dev/lj3ps
- chown daemon /dev/lj3ps
- chgrp bin /dev/lj3ps
-
- 6. Copy the sample lp_scrpt to another file as shown below:
- cp lp_scrpt <new_file_name>
- For example:
- cp lp_scrpt <lp_scrpt1>
-
- Note: To remove the banner page that precedes the printed output from
- print jobs, modify the lp_scrpt1 file. The default setting is banner
- equals "1". Remove the "1" from the header to disable printing the
- banner. However, you should be familiar with UNIX- Bourne shell script
- programming before doing this or any further editing.
-
- 7. Edit the lp_scrpt1 file to specify the complete path to
- the iprint utility. Assuming that the iprint utility is in
- ./intl/hpux, enter the second to the last line of the
- lp_scrpt1 file as follows:
- (shell commands)| /intl/hpux/iprint 'basename
- $0` job=1 exit $ ?
-
- 8. Check for running print jobs by typing:
- lpstat -o
- When all print jobs are complete, continue to Step 9.
-
- 9. To install the printer into the lp spooler system, you need
- to shut down the spooler system with lpshut by typing the
- following:
- /usr/lib/lpshut
- /usr/lib/lpadmin -plj3ps - v/dev/lj3ps
- /usr/lib/lpadmin -plj3ps - i/<path>/intl/hpux/lp_scrpt1
- /usr/lib/lpsched
- /usr/lib/accept lj3ps
- enable lj3ps
-
- 10. (Optional) Make the printer the default system printer by
- entering:
- /usr/lib/lpadmin -d<printer_name>
- For example:
- /usr/lib/lpadmin -dlj3ps
-
- 11. Print a job with spooler operation by entering:
- lp -d<printer_name> <file_name>
- For example, to print a file called test.txt:
- lp -dlj3ps test.txt
-
- The printing of a banner page and the contents of the file indicates a
- correctly configured host. If the test fails, see the HP-UX system
- administration manual for information on print spooler operation.
-
- HP-UX: GETTING XL PRINT STATUS INFORMATION
-
- After submitting a print job, the UNIX workstation user can request the
- printer's status by typing:
- lpstat -p<printer_name> -s
-
- The user can get information about the condition of the XL's TCP/IP
- printing protocol as it attempts to connect to the specified file
- server. The methods for viewing printing information include working
- with Netport Manager on a Novell workstation or working with UNIX system
- commands at a UNIX workstation. The manual "TCP/IP Printing Using the
- Intel NetportExpress XL Print Server" contains the steps for using
- Netport Manager to obtain status information.
-
-
-
-