ESO Printers configuration

Introduction / Philosophy

This a configuration page for the printer server currently sited here at ESO, Garching. This page is intended for the use of the OSC Unix system administrators so they are aware of how the printer server was initially set up.

Installation

The printer servers name is caxton.hq.eso.org. It was installed via jumpstart. It is located in the computer room.

Security

Passwd and groups has been set to local files only. Only OSC Unix system administrators and hpelz should have an account on caxton.

Following services were disabled in the /etc/inetd.conf in order to increase security.

talk dgram udp wait root /usr/sbin/in.tcpd in.talkd

uucp stream tcp nowait root /usr/sbin/in.uucpd in.uucpd

tftp dgram udp wait root /usr/sbin/in.tcpd in.tftpd -s /tftpboot

finger stream tcp nowait nobody /usr/sbin/in.tcpd in.fingerd

systat stream tcp nowait root /usr/bin/ps ps -ef

netstat stream tcp nowait root /usr/bin/netstat netstat -f inet

rquotad/1 tli rpc/datagram_v wait root /usr/lib/nfs/rquotad rquotad

rusersd/2-3 tli rpc/datagram_v,circuit_v wait root /usr/lib/netsvc/rusers/rpc.rusersd rpc.rusersd

sprayd/1 tli rpc/datagram_v wait root /usr/lib/netsvc/spray/rpc.sprayd rpc.sprayd

walld/1 tli rpc/datagram_v wait root /usr/lib/netsvc/rwall/rpc.rwalld rpc.rwalld

rexd/1 tli rpc/tcp wait root /usr/sbin/rpc.rexd rpc.rexd ufsd/1 tli rpc/* wait root /usr/lib/fs/ufs/ufsd ufsd -p

Todo list

Add restricted host access to the lpd port, ie block all non 134.171.*.* traffic so non ESO parties cannot print to our printers.

Pre-installation locations

The directory /opt/install (also sym link /install) was used as a collection area for all printing related packages for caxton.

There is the exception of /opt/install/unix, where the Emulex print software has been installed.

Installation locations and set up details

JetAdmin (HP JetDirect interface software) 

HP JetAdmin D.02.10 software for Solaris2.5.1 was installed under /opt/hpnp.

The command /usr/bin/jetadmin (a link from /opt/hpnp/admin/jetadmin) displays a menu from which printer configuration and diagnostics can be run. The menus are self explanatory. Please note the JetDirect card must be on the network for you to add the printer to the local print spooler.

You must add and remove JetDirect printers via the JetAdmin tool. Doing it any other way will cause confusion in JetAdmin.

Emulex 

The Emulex software is installed under /opt/install/unix and there is a /etc/printcap file which is used for holding the configuration details.

In order to install a new Emulex NetQue printer server, after you have setup the terminal server, use the command,

/opt/install/unix/addprinter - this command will add the /etc/printcap entry and add the printer to the local print spooler.

In order to remove the printer, use lpadmin -x printername

and remove the entry from /etc/printcap.

Example of an entry in the /etc/printcap:

# ** |ppcol2| entry maintained by Emulex Installation Program **

# server type =NETQue

# printer interface type =centronics

# server physical port number =1

# printer emulation =PS

# ppcol2 model =postscript.sol ppcol2|ppcol2|Emulex network printer on port1:\

:lp=ppcol2:\ :emlx_n=134.171.3.61:\

:emlx_text=disable:\

:emlx_pcs=:\

:emlx_scs=:\

:emlx_p=2501:

Tektronics 

Phaser 450/550

The printers are setup by catting a postscript file to the printer. This file contains info such as ip address, netmask, gateway etc. Please set the directory caxton:/opt/install/tek for the files.

The 550 also runs a web server on it. The tektronics printers use the interface script in /usr/spool/lp/model/tektcp.sun5

To add a printer use the command,

lpadmin -p tex_printer -v /dev/tex_printer -I any -i \ /usr/spool/lp/model/tektcp.sun5

enable tex_printer

accept tex_printer

Phaser 300i

The old Phaser 300i (ie ppcol4) uses the setup command, Again this is assumming you have set the printer its IP address/gateway/subnet mask.

By default the printer uses port 9100 (appsocket) instead of the BSD port 515. The ESO printers have been changed to use port 515 however. If you want however to use the appsocket 9100 please refer to the site, www2.tek.com/merlin/ftp.tek.com/cpid/UNIX/sun/sol_apps.tar

Untar the sol_apps.tar file by executing the command "tar -xvf phaser.sun5." The following files are extracted into the indicated directories:

asprint.sun5 ==> /usr/bin tektcp.sun5 ==> /usr/spool/lp/model

Adding a Phaser 300i printer at ESO

OK, to add the printer as per the ESO set up please do the following.

lpsystem -t bsd tex300i_printer

lpadmin -p tex300i_printer -s tex300i_printer!PS -I postscript

enable tex300i_printer

accept tex300i_printer

To delete the printer please use the command,

lpadmin -x tex300i_printer

For more technical and general info on Tektronics printers please visit the site, www.tek.com

Todo list

Currently a depenancies on serv1 with the hpcad? printers in Guy Hess's area as they don't seem to be want to be configured on the new server. (Via JetAdmin.)

The printer ppbla31 was bought by Guy Hess without consulting the OSC, which has resulted in a non-standard printer configuration and to date does not work. It is of low priority.

$Header: /home/ct/serco/ahuxley/docs/html/serco-faq/new/meta/RCS/data-page.html,v 1.1 1997/06/13 12:34:28 sloewent Exp $