From: lmstrutt@cca.rockwell.com (Len Struttmann)
Subject: Re: Setting up LAT print queue
Date: Sun, 4 Sep 1994 20:50:36 GMT [thread overview]
Message-ID: <CvMHwD.I0E@lazrus.cca.rockwell.com> (raw)
In-Reply-To: 3488pt$r7v@ulowell.uml.edu
In article <3488pt$r7v@ulowell.uml.edu>, elolos@cs.uml.edu (Elaine Lolos) writes:
|> Hi -
|>
|> I am running OSF/1 v2.0 on an Alpha 3000-300 and am trying to get
|> a LAT print queue working. I configured LAT and did the latcp
|> command specifying the server name and port name. Still the queue
|> says waiting for printer to become ready, when it is (other systems
|> can print).
|>
|> The OSF/1 documentation regarding LAT is somewhat minimal, so I
|> don't where I should start checking. Any ideas from anyone who has
|> gotten this working or any gotchas I should watch out for?
|>
|> Thanks!!
|>
|> << Elaine Lolos >>
Adding a LAT Printer to an OSF/1 System
---------------------------------------
Source: Mark G. Thorne, instructor of DEC OSF/1 System Administration Course.
1. Find and reserve a LAT terminal name to use for the printer.
- Look in /etc/inittab at the last line. It will appear approximately
as follows:
lat0z:3:respawn:/usr/sbin/getty /dev/tty0z console vt100
- From this you can determine that the name to use is '/dev/tty0z'.
- You must change one field in the line so that it look like this:
lat0z:3:off:/usr/sbin/getty /dev/tty0z console vt100
^^^
- As root, execute...
init q
...to have init re-read /etc/inittab.
2. Manually assign the LAT terminal name to a specific port on a particular
LAT terminal server.
- Once the port and server names have been determeined issue the
following command:
latcp -A -p tty0z -H SERVER_NAME -R PORT_NAME
...or...
latcp -A -p tty0z -H SERVER_NAME -V SERVICE_NAME
where: tty0z is the terminal found in (1), above, and SERVER_NAME,
PORT_NAME, and SERVICE_NAME are for your terminal server that
serves this printer. NOTE: These MUST be given in UPPER-CASE.
NOTE: The port on the terminal server must be set to 'access remote'
for any of this to work.
- You should now be able to copy a file to the target printer
manually:
cp $HOME/.profile /dev/tty0z
3. Establish the terminal and printer information for the Line Printer
Daemon (lpd):
- Invoke lprsetup and specify the following fields:
ct LAT # must be UPPER-CASE
ts SERVER_NAME # must be UPPER-CASE
lp /dev/tty0z
op PORT_NAME # must be UPPER-CASE
...or...
os SERVICE_NAME # must be UPPER-CASE
4. Test the printer by issuing lpr commands.
5. Establish the terminal/server/port/service correspondance permanently.
- Modify the /sbin/init.d/lat by locating the block of code shown below
and modify it by adding the same latcp issued manually before:
if [ "$9" = "S" ]
then if [ "$8" = "0" ]
then # This code is only executed the *first* time the
# system enters run level 3. All latcp commands used
# for customizing LAT (such as adding additional
# services, changing group codes, changing the multi-
# cast timer, etc.) should follow the 'latcp -r'
# command below. As an example, to define a service
# name other than the node name and add group codes
# for this service, use the following commands:
# /usr/sbin/latcp -A -a new_service -i "DEC OSF/1"
# /usr/sbin/latcp -g52 -a new_service
# The 'latcp -r' command below will add a default
# service (and have the same name as the LAT node name,
# which will default to the system name). If this
# service name is not desired, comment out the
# 'latcp -r' command and replace it with the
# appropriate 'latcp -A -a' command.
/usr/sbin/latcp -r
/usr/sbin/latcp -A -p tty0z -H SERVER_NAME -R PORT_NAME
...or...
/usr/sbin/latcp -A -p tty0z -H SERVER_NAME -V SERVICE_NAME
fi
--
==========================================================================
| Len Struttmann - Rockwell Collins Avioncs |
| lmstrutt@cca.rockwell.com |
==========================================================================
next prev parent reply other threads:[~1994-09-04 20:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-02 22:26 Setting up LAT print queue Elaine Lolos
1994-09-04 20:50 ` Len Struttmann [this message]
1994-09-06 8:36 ` Access to LAT Volker Hejny
1994-09-20 13:48 ` Scott Ruch
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox