Configuring Solaris 2.x for Printing with the OkiLAN 6200e
This application note describes the configuration of the printing system on the Solaris ver. 2.x 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 Solaris 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 Solaris system.
Make sure the LPD daemon is running on the Solaris system.
To configure the Solaris machine so users can spool print jobs to the pcl print queue on the OkiLAN 6200e named OKIPRINTER, do the following:
Login to the Solaris machine as root.
Type: lpsystem -t bsd OKIPRINTER.
Type: lpadmin -p lj4 -s OKIPRINTER!yourqueuename - I any.
Type: accept lj4.
Type: enable lj4.
Try printing by issuing the following command: lp -d lj4 filename