home *** CD-ROM | disk | FTP | other *** search
/ Chip Special: Netware / Chip-Special_1996-08_NetWare_cd2.bin / content / support / netport / 2 / npunix.txt < prev    next >
Encoding:
Text File  |  1996-06-15  |  16.6 KB  |  454 lines

  1. INTEL NETPORTEXPRESS(TM) XL PRINT SERVER
  2.  
  3. RELEASE NOTES FOR AIX AND HP-UX
  4.  
  5. Instructions for installing and printing with the NetportExpressTM XL 
  6. Print Server from an AIX or HP-UX Host. These instructions apply to both 
  7. Ethernet and Token Ring networks. Supported versions are:
  8.  
  9.       AIX   3.2
  10.       HP-UX 9.03
  11.  
  12. NOTE: To set up other supported UNIX hosts, please see the manual, 
  13. "TCP/IP Printing using the Intel NetportExpress XL Print Server". Other 
  14. supported hosts are:
  15.  
  16.       SCO   3.2
  17.       SUN   4.1.x
  18.       Solaris 2.1 & 2.2
  19.       UnixWare
  20.  
  21. CONTENTS
  22.  
  23.       Setting Up and Printing with AIX
  24.       Setting Up and Printing with HP-UX
  25.  
  26. SETTING UP AND PRINTING WITH AIX
  27.  
  28. Setting up the NetportExpress XL print server for printing with AIX 
  29. involves the following steps:
  30.  
  31. 1.    From Windows Netport Manager, configure the XL for TCP/IP
  32.       printing.
  33. 2.    From the AIX host, set up the XL as a virtual printer.
  34. 3.    From the AIX host, test the installation.
  35.  
  36. AIX: FROM NETPORT MANAGER, CONFIGURE THE XL FOR TCP/IP PRINTING
  37.  
  38. To install a network printer for AIX, first configure the NetportExpress 
  39. XL print server for TCP/IP printing, using the Windows program Netport 
  40. Manager.
  41.  
  42. 1.    From a Novell workstation that uses Microsoft Windows
  43.       version 3.1, start Netport Manager. 
  44.  
  45. 2.    Select the NetportExpress XL you want to configure.
  46.  
  47. 3.    Choose Configure / Protocols.
  48.       Select TCP/IP Print Server, then click Configure.
  49.  
  50.       Give the XL an IP address that will be used for parallel port 1.
  51.       If you will be using parallel port 2 or the serial port, click the
  52.       "LPD" button and assign an IP address for parallel port 2 or the
  53.       serial port. 
  54.  
  55.       For more detail on filling in the fields for TCP/IP printing,
  56.       please refer to online help, or the manual, TCP/IP Printing Using
  57.       the Intel NetportExpress XL Print Server. 
  58.  
  59. 4.    Make a note of the IP address(es) you assigned to the XL. 
  60.       You will need them when setting up the AIX host.
  61.  
  62. AIX: FROM THE AIX HOST, SET UP THE XL AS A VIRTUAL PRINTER
  63.  
  64. To set up the AIX host, you will need:
  65.  
  66.     - The IP address of each XL port.
  67.     - An alias name for the XL (optional). 
  68.     - A name for a print queue. Users will see this name when they print
  69.       to the XL.
  70.  
  71. 1.    Before proceeding, make sure you can PING (confirm IP
  72.       communication between the host and the XL):
  73.  
  74.          # ping <IP address>
  75.  
  76.       For example:
  77.  
  78.          # ping 128.215.219.44
  79.  
  80.       If you can't PING, check the following: gateway setup, subnet
  81.       numbers, and IP addresses in Netport Manager.
  82.  
  83. 2.    Copy the configuration file from the Intel archive to the AIX 
  84.       host.
  85.  
  86.       If the archive has been downloaded directly to your AIX host 
  87.       (from the Internet ftp server, for example), enter these commands:
  88.  
  89.          # tar xvf npunix.tar ./intl/aix/intel.config
  90.          # cd ./intl/aix
  91.          # cp intel.config /usr/lib/lpd/pio/etc/intel.config
  92.  
  93.       If the archive is on a floppy diskette, enter the following 
  94.       commands, where fd0 is the device name for your floppy drive:
  95.  
  96.          # tar xvf /dev/fd0 ./intl/aix/intel.config
  97.          # cd ./intl/aix
  98.          # cp intel.config /usr/lib/lpd/pio/etc/intel.config
  99.  
  100. 3.    Edit the /etc/hosts file and add a line for each XL port in use. 
  101.       Each line contains the IP address defined in Netport Manager and 
  102.       an alias.  (The alias name is an arbitrary name used later in 
  103.       SMIT.)
  104.  
  105.       For example:
  106.  
  107.          128.215.219.44         np_port1
  108.          128.215.219.45         np_port2
  109.  
  110. 4.    Using SMIT, configure the XL as a virtual printer:
  111.  
  112.       # smit virprt
  113.       Choose "Add a Virtual Printer".
  114.       Choose "Intel NetportExpress XL Print Server".
  115.       Enter the IP address or alias as defined in /etc/hosts (step 3.)
  116.       Choose "Do NOT make this system a BOOTP / TFTP server".
  117.       Choose a printer from the list, to be attached to the XL.
  118.       Choose header or trailer pages (optional).
  119.       Enter the printer queue name (users use this when they print.)
  120.          An example might be, "laserqueue"
  121.       Choose whether that queue name should be the default name.
  122.       Press enter to continue...
  123.  
  124. 5.    Repeat from "Add a Virtual Printer" for additional ports.
  125.  
  126. Press F3 to exit SMIT.
  127.  
  128. AIX: TEST THE SETUP BY PRINTING SOMETHING
  129.  
  130. To test printing with AIX with the XL, use a command such as QPRT.
  131. For example:
  132.  
  133.          # qprt -P laserqueue /etc/hosts
  134.  
  135. Setting up the XL for printing with AIX is now complete.
  136.  
  137. SETTING UP AND PRINTING WITH HP-UX
  138.  
  139. Setting up the NetportExpress XL print server for printing with HP-UX 
  140. involves the following steps:
  141.  
  142. 1.    From Windows Netport Manager, configure the XL for TCP/IP
  143.       printing.
  144. 2.    From the HP-UX host, set up the XL.
  145. 3.    From the HP-UX host, test the installation.
  146.  
  147. HP-UX: FROM NETPORT MANAGER, CONFIGURE THE XL FOR TCP/IP PRINTING
  148.  
  149. To install a network printer for HP-UX, first configure the 
  150. NetportExpress XL print server for TCP/IP printing, using the Windows 
  151. program Netport Manager.
  152.  
  153. 1.    From a Novell workstation that uses Microsoft Windows
  154.       version 3.1, start Netport Manager. 
  155.  
  156. 2.    Select the NetportExpress XL you want to configure.
  157.  
  158. 3.    Choose Configure / Protocols.
  159.       Select TCP/IP Print Server and a port, then click Configure.
  160.  
  161.       For more detail on filling in the fields for TCP/IP printing,
  162.       please refer to online help, or the manual, TCP/IP Printing Using
  163.       the Intel NetportExpress XL Print Server. 
  164.  
  165. 4.    Make a note of the IP address for the XL. 
  166.       You will need it when setting up the HP-UX host.
  167.  
  168. HP-UX: FROM THE HP-UX HOST, SET UP THE XL
  169.  
  170. You can perform either an automated or a manual installation. The 
  171. automated installation uses the npinstall installation script.  The 
  172. manual installation guides you through the creation of a printcap file 
  173. for printing with the Intel-provided iprint utility.  
  174.  
  175. Before proceeding with the HP-UX setup, make sure you can PING (confirm 
  176. IP communication between the host and the XL):
  177.  
  178.          # ping <IP address>
  179.  
  180.       For example:
  181.  
  182.          # ping 128.215.219.44
  183.  
  184.       If you can't PING, check the following: gateway setup, subnet
  185.       numbers, and IP addresses in Netport Manager.
  186.  
  187. The following sections describe:
  188.  
  189.       Automated setup for an HP-UX host using npinstall
  190.       Manual setup for an HP-UX host using the iprint utility
  191.       Using iprint as a stand-alone print filter
  192.       Setting up the printcap file
  193.       Setting up iprint for lp printing
  194.       Getting XL print status information
  195.  
  196. HP-UX: AUTOMATED SETUP FOR AN HP-UX HOST USING NPINSTALL
  197.  
  198. To use npinstall: 
  199.  
  200. 1.    Use Netport Manager on a Novell workstation and follow
  201.       the XL configuration instructions contained in Chapter 1
  202.       of the Complete Guide.
  203.  
  204. 2.    On the UNIX host, change to the directory in which you
  205.       want the software installed. The tar command creates the
  206.       ./intl/hpux subdirectory.
  207.  
  208. 3.    Copy the npinstall file from the tar diskette to the ./intl 
  209.       subdirectory on your host system. One way to do this is to
  210.       type the following:
  211.          tar xvf <device_name> ./intl/npinstall
  212.       For Example:
  213.          tar xvf /dev/floppy/c201d0s0 ./intl/npinstall
  214.  
  215. 4.    Copy the HP-UX 9.03 operating system files you need by typing:
  216.          tar xvf <device_name> ./intl/hpux
  217.       For Example:
  218.          tar xvf /dev/floppy/c201d0s0 ./intl/hpux 
  219.  
  220. 5.    Change to the ./intl subdirectory.
  221.  
  222. 6.    From the system prompt, type:
  223.          npinstall
  224.  
  225. 7.    When prompted, provide the following configuration parameters:
  226.       -Operating system to configure (Select "5" for HP-UX)
  227.       -XL's IP address
  228.       -XL's port number to configure (parallel 1 [LPT1],
  229.        parallel 2 [LPT2], or serial [COM1])
  230.       -Printer mode (Text, PostScript, or both for autosensing printers)
  231.       -The printer name
  232.       -Whether you want to include a banner page with print jobs 8
  233.  
  234. To test configuration, print a test file when npinstall prompts you.
  235.  
  236. HP-UX host configuration for the XL should now be complete.
  237.  
  238. Troubleshooting: If you run npinstall and it seems that the installation 
  239. did not work correctly, refer to the following instructions for details 
  240. about working with iprint, lp, and the printcap file.
  241.  
  242. The npinstall script looks for the Intel-provided iprint, lp_scrpt, and 
  243. sample_printcap files in the./intl/hpux  subdirectory. Be sure the 
  244. operating system specific information you need is in the ./intl/hpux 
  245. subdirectory, and the npinstall utility is in the ./intl subdirectory
  246.  
  247. HP-UX: MANUAL SETUP FOR AN HP-UX HOST USING THE IPRINT UTILITY
  248.  
  249. The manual procedures are for setting up printing for either iprint as a 
  250. stand-alone utility, or for lp together with iprint. When using iprint 
  251. and lp together, install the iprint utility on the UNIX host before 
  252. invoking the lp print spooler for printing. You should use the provided 
  253. shell script program called lp_scrpt instead of writing your own. The 
  254. lp_scrpt program takes the parameters passed to the lp spooling system 
  255. and invokes iprint. All you have to do is edit the program to give it 
  256. the pathname to iprint.
  257.  
  258. HP-UX: USING IPRINT AS A STAND-ALONE PRINT FILTER
  259.  
  260. The user can print a job using iprint as a stand-alone print filter, 
  261. without referencing the printcap file, by typing:
  262.  
  263.   # cat <file_name> | iprint <ipaddress> job=<job num> <port_number> -pc
  264.  
  265. For example:
  266.  
  267.   # cat test.txt | iprint 192.9.200.2 job=1 3001 -pc
  268.  
  269. You must correctly install the iprint utility before you can set up the 
  270. printcap file. Receipt of a printed file when you type this command 
  271. indicates correct iprint installation. Perform the procedure described 
  272. in "Automated setup for an HP-UX host using npinstall" to ensure correct 
  273. installation of the iprint utility. For more information, see Chapter 9 
  274. in TCP/IP Printing Using the Intel NetportExpress XL Print Server.
  275.  
  276. NOTE, Job Numbers (job=): The print job numbers can be any positive 
  277. number. Negative numbers will cause the system  to hang.
  278.  
  279. HP-UX: SETTING UP THE PRINTCAP FILE
  280.  
  281. HP-UX users can print to multiple TCP/IP configured ports on the XL. If 
  282. you do not use npinstall, you must manually create a printcap file in 
  283. the /etc directory. This file contains the required configuration 
  284. parameters, as described in "Setting up iprint for lp printing." The use 
  285. of a printcap file is not native to HP-UX spoolers. However, Intel has 
  286. provided the means for you to use iprint in these environments. Single-
  287. space all entries in the file. Do not include any blank lines. Each 
  288. command line ends with a colon backslash (:\)  if the next line is a 
  289. continuation of the file entry. The final line in the entry must end 
  290. with a colon (:).  (Do not type the circled numbers shown at the left of 
  291. each line in the sample printcap file provided below.  They reference 
  292. the description of each line in the left margin.)
  293.  
  294. The printcap file for the HP-UX environment must include the following 
  295. configuration parameters:
  296.  
  297. -     Printer name. This must be the first entry in the printcap
  298.       file, there can be no spaces between these names.
  299. -     Device name
  300. -     Output filter designation
  301. -     XL's IP address
  302. -     XL's port number to configure (parallel 1 [LPT1],
  303.       parallel 2 [LPT2], or serial [COM1])
  304. -     PostScript designation if necessary
  305.  
  306. NOTE, TCP port numbers:
  307.       For Parallel Port 1, use 3001.
  308.       For Parallel Port 2, use 3002.
  309.       For the Serial Port, use 2501.
  310.  
  311. The example printcap file shown below defines an HP LaserJet IIIsi for 
  312. printing PostScript files over the XL's first parallel port.
  313.  
  314. Sample HP-UX printcap file entry using iprint with the native spooling 
  315. system (lp)
  316.  
  317. 1       lj3ps|LaserJet_IIIsi|LaserJet_IIIsi_on_port_1:\
  318. 2       :lp=/dev/lj3ps:\
  319. 3       :of=/usr/intl/hpux/iprint:\
  320. 4       :intl_n=192.9.200.2:\
  321. 5       :intl_p=3001:
  322.  
  323. Include these additional entries in the printcap file for PostScript 
  324. printers and add a backslach (\) to the end of line 5:
  325.  
  326. 6      :mx#0:\
  327. 7      :sh:\
  328. 8      :sf:\
  329. 9      :intl_text=disable:
  330.  
  331. HP-UX Printcap file entry descriptions for lp printing with iprint
  332.  
  333. 1     lj3ps is an example printer name, LaserJet_IIIsi is an example of
  334.       an alternate printer name, and LaserJet_IIIsi _on_port_1 is an
  335.       example of an optional comment you can enter. Do not use spaces in
  336.       this line.
  337. 2     This is the command you enter to define a dummy device name. For
  338.       simplicity, you can use the printer name for the device name.
  339. 3     This is the command you enter to designate iprint and its
  340.       directory location as the output filter.
  341. 4     This is the command for defining the XL's IP address where
  342.       192.9.200.2 is an example IP address.
  343. 5     This is the command for defining the XL's TCP port IP address. The
  344.       XL's LPT1 is port 3001, LPT2 is port 3002, and COM1 is 2501.
  345.  
  346. Include lines 6 through 9 below only if you are creating a printcap file 
  347. entry for a PostScript printer.
  348.  
  349. 6     This is the command for unlimited buffer space.
  350. 7     This is the command to suppress printing of a burst page
  351.       headersheet.
  352. 8     This is the command to suppress form feeds.
  353. 9     This is the command required for PostScript printing.
  354.  
  355. HP-UX: SETTING UP IPRINT FOR LP PRINTING 
  356.  
  357. To configure your HP-UX host so that it can initiate a print job from 
  358. lp:
  359.  
  360. 1.    To determine if your system supports lp type:
  361.          ps  -ef  |  grep  -v  grep  |  grep  lpsched
  362.       The system response will be similar to the following:
  363.          lp 18732  10Jul94  /usr/lib/lpsched
  364.  
  365. 2.    On the UNIX host, change to the directory in which you
  366.       want the software installed. The tar command creates the
  367.       ../intl/hpux  subdirectory in that directory.
  368.  
  369. 3.    Copy the Intel print utility and sample printcap file from
  370.       the tar diskette to your host system. One way to do this is
  371.       to type:
  372.          tar xvf <device_name> ./intl/hpux
  373.  
  374.       When complete, the subdirectory will contain the iprint, lp_scrpt,
  375.       and sample_printcap files.
  376.  
  377. 4.    Create and edit the /etc/printcap file to include an entry for
  378.       each printer on the XL. For more information, see "Setting up the
  379.       printcap file" on the previous page.
  380.  
  381. 5.    Create a special device file for each printer.  If you are
  382.       printing to a printer called lj3ps, create a device by the same
  383.       name. The major number is 3 and the minor number is 2 for HP-UX.
  384.  
  385.       For example:
  386.          mknod /dev/lj3ps  c  3  2
  387.          chmod 0600 /dev/lj3ps
  388.          chown daemon /dev/lj3ps
  389.          chgrp bin /dev/lj3ps
  390.  
  391. 6.    Copy the sample lp_scrpt to another file as shown below:
  392.          cp lp_scrpt <new_file_name>
  393.       For example:
  394.          cp lp_scrpt <lp_scrpt1>
  395.  
  396. Note: To remove the banner page that precedes the printed output from 
  397. print jobs,  modify  the lp_scrpt1 file.  The default setting is banner 
  398. equals "1".  Remove the "1" from the header to disable printing the 
  399. banner. However, you should be familiar with UNIX- Bourne shell script 
  400. programming before doing this or any further editing.
  401.  
  402. 7.    Edit the lp_scrpt1 file to specify the complete path to
  403.       the iprint utility. Assuming that the iprint utility is in
  404.       ./intl/hpux, enter the second to the last line of the
  405.       lp_scrpt1 file as follows:
  406.          (shell commands)| /intl/hpux/iprint 'basename
  407.          $0` job=1 exit $ ? 
  408.  
  409. 8.    Check for running print jobs by typing:
  410.          lpstat -o
  411.       When all print jobs are complete, continue to Step 9.
  412.  
  413. 9.    To install the printer into the lp spooler system, you need
  414.       to shut down the spooler system with lpshut by typing the
  415.       following:
  416.          /usr/lib/lpshut
  417.          /usr/lib/lpadmin -plj3ps - v/dev/lj3ps
  418.          /usr/lib/lpadmin -plj3ps - i/<path>/intl/hpux/lp_scrpt1
  419.          /usr/lib/lpsched
  420.          /usr/lib/accept lj3ps
  421.          enable lj3ps
  422.  
  423. 10.   (Optional) Make the printer the default system printer by
  424.       entering:
  425.          /usr/lib/lpadmin -d<printer_name>
  426.       For example:
  427.          /usr/lib/lpadmin -dlj3ps
  428.  
  429. 11.   Print a job with spooler operation by entering:
  430.          lp -d<printer_name> <file_name>
  431.       For example, to print a file called test.txt:
  432.          lp -dlj3ps test.txt
  433.  
  434. The printing of a banner page and the contents of the file indicates a 
  435. correctly configured host. If the test fails, see the HP-UX system 
  436. administration manual for information on print spooler operation.
  437.  
  438. HP-UX: GETTING XL PRINT STATUS INFORMATION
  439.  
  440. After submitting a print job, the UNIX workstation user can request the 
  441. printer's status by typing:
  442.          lpstat -p<printer_name> -s
  443.  
  444. The user can get information about the condition of the XL's TCP/IP 
  445. printing protocol as it attempts to connect to the  specified file 
  446. server. The methods for viewing printing information include working 
  447. with Netport Manager on a Novell workstation or working with UNIX system 
  448. commands at a UNIX workstation. The manual "TCP/IP Printing Using the 
  449. Intel NetportExpress XL Print Server" contains the steps for using 
  450. Netport Manager to obtain status information.
  451.  
  452.  
  453.  
  454.