Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Setting up LAT print queue
@ 1994-09-02 22:26 Elaine Lolos
  1994-09-04 20:50 ` Len Struttmann
  0 siblings, 1 reply; 4+ messages in thread
From: Elaine Lolos @ 1994-09-02 22:26 UTC (permalink / raw)


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 >>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Setting up LAT print queue
  1994-09-02 22:26 Setting up LAT print queue Elaine Lolos
@ 1994-09-04 20:50 ` Len Struttmann
  1994-09-06  8:36   ` Access to LAT Volker Hejny
  0 siblings, 1 reply; 4+ messages in thread
From: Len Struttmann @ 1994-09-04 20:50 UTC (permalink / raw)


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                        |
==========================================================================



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Access to LAT
  1994-09-04 20:50 ` Len Struttmann
@ 1994-09-06  8:36   ` Volker Hejny
  1994-09-20 13:48     ` Scott Ruch
  0 siblings, 1 reply; 4+ messages in thread
From: Volker Hejny @ 1994-09-06  8:36 UTC (permalink / raw)



--
Hi,

it is possible on OSF/1 to log in on other LAT-Services like
set host/lat SERVICE
on VMS ?

Thanks in advance,

Volker

==============================================================================
Volker Hejny                | Tel.: 0641 - 702 2783     |  \|/   ____   \|/
II. Physikalisches Institut |                  2760     |   @~  / .. \  ~@
Universitaet Giessen        | Fax : 0641 - 74390        |    \_( \__/ )_/
Heinrich-Buff-Ring 16       |                           |       \____/
D-35392 Giessen             | Internet:     hejny@piggy2.physik.uni-giessen.de
==============================================================================


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Access to LAT
  1994-09-06  8:36   ` Access to LAT Volker Hejny
@ 1994-09-20 13:48     ` Scott Ruch
  0 siblings, 0 replies; 4+ messages in thread
From: Scott Ruch @ 1994-09-20 13:48 UTC (permalink / raw)


Volker Hejny (hejny@labalpha.physik.uni-giessen.de) wrote:
: 
: it is possible on OSF/1 to log in on other LAT-Services like
: set host/lat SERVICE
: on VMS ?
: 

At the present time, the LAT implementations in OSF/1 up to V3.0 are slave
only implementations.  That is, they do not support terminal server 
functionality, such as VMS's "set host /lat"

--
--------------------------------------------------
Scott Ruch			Unix Systems Group
Digital Equipment Corp.
200 US Rt. 9 North		swr@unx.dec.com
Manalapan, NJ 07726-9455	(908) 577-6082
--------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-09-20 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-02 22:26 Setting up LAT print queue Elaine Lolos
1994-09-04 20:50 ` Len Struttmann
1994-09-06  8:36   ` Access to LAT Volker Hejny
1994-09-20 13:48     ` Scott Ruch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox