LinkCom Xpress
Overview Data sheet Manuals Support Partners Contact

LinkCom Xpress

How to set up lpd/lpr printing in a SUN SOLARIS 2.x system

Notes:

  • You need super user (root) access to your UNIX system for this procedure.
  • There is an error in the lpd implementation on Solaris 2.4 and earlier releases. You may experience problems printing large print jobs. The solution is to use the RAW TCP/IP port 9100.
  1. Set up the local host file.
    Configure the /etc/hosts file on each UNIX host that is able to print to the PrintServer. Use an editor to edit the host file. The host file syntax is: IP address hostname/nodename, i.e.: if the PrintServer's IP address is 172.16.100.10 and the host name is PrintServer1, the settings in your host file must be:

    172.16.100.10         PrintServer1

  2. Set up the local print queue.
    Sun Solaris 2.x uses the lpsystem and lpadmin programs for configuration of the remote printer.

    lpsystem -t bsd queue lpadmin -p queue -s PrintServer-name! PrintServer-servic (binary) accept queue enable queue

    The queue is the name of the local print queue, PrintServer-name is the name of the PrintServer (this name must match the name in the /etc/host file), the PrintServer-service is the binary or text service. If this is the first printer configured, you must also use the lpsched command immediately prior to the accept command.

    Alternatively, you can use printer manager in the admintool utility under OpenWindows:

    1. Select Edit, Add and Add Access To Remote Printer
    2. Enter the PrintServer's name in the format PrintServer-name! PrintServer-service (binary) as described above.
    3. Make sure the Printer server OS is set to BSD (default), then click Add

    Note: It is recommended that you use the /etc/hosts file for the printer name.