X hits on this document

Word document

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





173 / 249

Configuring Sun-OS v4.1.x or Ultrix v4.2 for Printing with the OkiLAN 6200e

This application note describes the configuration of the printing system on the Sun-OS ver 4.1.x and Ultrix ver. 4.2 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 Sun-OS or Ultrix system to which print jobs that are destined for a printer attached to the OkiLAN 6200e will be directed.


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. For more information, see Remote Print Queue Names.


Before you proceed, the following prerequisites must be met:


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


Make sure the LPD daemon is running on the Sun-OS or Ultrix system by issuing the following command at the UNIX prompt: ps aux | grep lpd If the LPD daemon is running, you should see output similar to: root 135 0.0 0.0   52   0  ?  IW May 24 0:01  /usr/lib/lpd If the LPD daemon is not running, start the daemon by logging into the Sun-OS or Ultrix machine as root and issuing the following command at the UNIX prompt: /usr/lib/lpd Verify that the daemon is running by using the ps command described previously. To start the LPD daemon automatically when the system boots, make sure that lines similar to the following exist in the “/etc/rc” file: if [ -f /usr/lib/lpd ] ; then rm -f /dev/printer/var/spool/lpd.lock /usr/lib/lpd; echo -n ‘ printer’ fi


To configure the Sun-OS or Ultrix machine so that users can spool print jobs to the pcl print queue on the OkiLAN 6200e named OKIPRINTER, do the following:

1. Login to the Sun-OS or Ultrix machine as root.

2. Using a text editor (such as vi), add this entry to the “/etc/printcap” file: lj4:\  :lp=:rm=OKIPRINTER:rp=yourqueuename:\  :sd=/usr/spool/lj4:\  :lf=/usr/spool/lj4/lj4.log

3. At the UNIX prompt, type: mkdir /usr/spool/lj4.

Document info
Document views659
Page views659
Page last viewedSun Oct 23 10:03:38 UTC 2016