X hits on this document

Word document

Every effort has been made to ensure that the information in this document is complete, - page 166 / 249





166 / 249

Configuring HP-UX v10.xx for Printing with the OkiLAN 6200e

This application note describes the configuration of the printing system on the HP-UX ver. 10.xx of the UNIX operating system. For clarity and brevity, the following specific names will be used to represent general devices or concepts.


lj4 - The local queue name on the HP-UX system to which print jobs will be directed. The print jobs are destined for a printer attached to the OkiLAN 6200e.


OKIPRINTER - The host name of the remote system which is the OkiLAN 6200e. For example, to telnet to the OkiLAN 6200e and invoke the OkiLAN 6200e Configuration utility, you would type telnet OKIPRINTER. A host name is not required for the OkiLAN 6200e, the IP Address may be used.


yourqueuename - This is the name of the queue on the OkiLAN 6200e and must end with 1, 2, 3 or 4, depending on the port selected to service the print jobs. If FF, LF or NF are the last two letters of the queue name, the job will be converted accordingly. See the section on Remote Queue Names.


Before you proceed, the following prerequisites must be met. Most of the time steps 2 through 5 are already configured since the HP-UX system is on a TCP/IP network. Do not perform steps 2 through 5 unless the installation procedure fails!


The name OKIPRINTER and the IP address assigned to the OkiLAN 6200e are in the “/etc/hosts” file on the HP-UX system.


Make sure the rlp process is not running by typing at the UNIX prompt: ps -e | grep rlp If rlp is not running, you will not see any output after executing this command. If rlp is running (that is, if you see output after executing this command), kill the process with the command: kill -15 process_number.


Make sure the following entry is in the “/etc/inetd.conf” file: printer stream tcp nowait root “/usr/lib/ rlpdaemon” rlpdaemon -i If the rlp daemon is not running when a print request is made, this entry in “/etc/inetd.conf” will tell inetd to auto-start the rlp daemon and service the pending print request. This is helpful if the daemon died or was terminated for some reason. For more information on inetd or “/etc/inetd.conf”, type man inetd or man inetd.conf.


Make sure the following entry is in the “/etc/services” file: printer 515/tcp spooler


Start inetd by typing the following at the UNIX prompt: /etc/inetd -c


HP-UX uses an interactive utility called SAM (System Administration Manager) to configure printing.


Login to the HP-UX system as root.


Invoke the SAM utility by typing sam at the UNIX prompt. (We suggest you do this at the system console. SAM uses a screen oriented interface that works best at the console.)

Document info
Document views1045
Page views1045
Page last viewedMon Jan 16 20:04:03 UTC 2017