Configuring SCO UNIX for Printing with the OkiLAN 6200e
This application note describes the configuration of the printing system on the Santa Cruz Operation’s (SCO) version 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 of the SCO 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, verify that the following prerequisites are met:
SCO TCP/IP version 1.2 or later must be installed.
The name of the OkiLAN 6200e (OKIPRINTER) and the IP address you wish to assign are in the “/etc/hosts” file of the SCO machine.
The IP address of the OkiLAN 6200e has been assigned and you are able to telnet to OKIPRINTER successfully.
Login to the SCO machine as root.
Install Remote Line Printing or verify that it is running by typing mkdev rlp at the UNIX prompt. It will respond by asking if you want to install or remove remote line printing. Choose Install even if remote line printing may already be installed.
If remote line printing is already installed, mkdev rlp will respond with the message Remote line printing working directory already exists. Do you wish to continue installing the remote line printing system? Answer no to this prompt and skip to Step 6. If remote line printing was not installed, mkdev rlp will respond with messages detailing files and directories that it is creating.
The command mkdev rlp will ask if you wish to change the printer description file “/etc/printcap”. Choose no for this prompt. It will respond saying Run ‘/etc/rlpconf’ to change the remote printer description file. Do NOT run “/etc/rlpconf”. We will be performing the functions of “/etc/rlpconf” manually.
The next prompt is Do you want to start remote daemon now? Answer yes to this prompt. This should bring you back to the UNIX prompt.
Using a text editor (such as vi), add the following entry to the “/etc/printcap” file” lj4:\ :lp=:rm=OKIPRINTER:rp=pcl2:\ :sd=/usr/spool/lpd/lj4:\ :lf=/usr/spool/lpd/lj4/lj4.log: