Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* LAT based printer setup
@ 1994-10-20 21:04 Dave G Herdman
  1994-10-21 13:02 ` Bill Bochnik (Info Systems)
       [not found] ` <1994Oct24.084633.2244@sgcl1.unisg.ch>
  0 siblings, 2 replies; 5+ messages in thread
From: Dave G Herdman @ 1994-10-20 21:04 UTC (permalink / raw)


I  am in the process of setting up a 2100 for an evaluation benchmark
As it is a loan machine I do not have the doc set. Thanks to help
from folks in this group I have nearly everything working as we 
want it. I have one last problem LAT printers    

I have set up an application port using the command

	latcp -A -ptty0a -Nserv01  -Rport_5

(I think this is what I typed, I am at home now so I cant check)

This WORKS. I can copy a file to tty0a and it comes out on the
VT terminal I have attached for testing. ( I must confess that
the System V/BSD lat tty set up is more than a little confusing
but what I have works and so I will wait for the manuals to try
to get a better handle on this).

I then set up a printcap entry with various stuff but in particular

		:ct=LAT:\
		:lp=/dev/tty0a:\

as per the man pages. However nothing happens! . When I send a file
via lpr (printer is set up as default destination) it goes into
the spool area but does not print. There are no entries in the 
printer log or accounting file. The printer is enabled

What am I doing wrong ???

thanks in anticipation

Dave Herdman
-- 
+--------------------------------------------------------------+
|  Dave G Herdman OSIL    inet email dherdman@osil.demon.co.uk |
|    phone UK  (44) 494 765716  fax UK (44) 494 764062         |
+--------------------------------------------------------------+


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

* Re: LAT based printer setup
  1994-10-20 21:04 LAT based printer setup Dave G Herdman
@ 1994-10-21 13:02 ` Bill Bochnik (Info Systems)
       [not found] ` <1994Oct24.084633.2244@sgcl1.unisg.ch>
  1 sibling, 0 replies; 5+ messages in thread
From: Bill Bochnik (Info Systems) @ 1994-10-21 13:02 UTC (permalink / raw)


In article <782687099snz@osil.demon.co.uk> Dherdman@osil.demon.co.uk writes:
>I  am in the process of setting up a 2100 for an evaluation benchmark
>As it is a loan machine I do not have the doc set. Thanks to help
>from folks in this group I have nearly everything working as we 
>want it. I have one last problem LAT printers    
>
>I have set up an application port using the command
>
>	latcp -A -ptty0a -Nserv01  -Rport_5
>
>(I think this is what I typed, I am at home now so I cant check)
>
>This WORKS. I can copy a file to tty0a and it comes out on the
>VT terminal I have attached for testing. ( I must confess that
>the System V/BSD lat tty set up is more than a little confusing
>but what I have works and so I will wait for the manuals to try
>to get a better handle on this).
>
>I then set up a printcap entry with various stuff but in particular
>
>		:ct=LAT:\
>		:lp=/dev/tty0a:\
>
>as per the man pages. However nothing happens! . When I send a file
>via lpr (printer is set up as default destination) it goes into
>the spool area but does not print. There are no entries in the 
>printer log or accounting file. The printer is enabled
>
>What am I doing wrong ???
>
>thanks in anticipation
>
>Dave Herdman
>-- 
>+--------------------------------------------------------------+
>|  Dave G Herdman OSIL    inet email dherdman@osil.demon.co.uk |
>|    phone UK  (44) 494 765716  fax UK (44) 494 764062         |
>+--------------------------------------------------------------+

Here is a complete printcap entry for a lat printer of ours that works.  
sap2|lp3:\
        :af=/usr/adm/lp3acct:\
        :br#9600:\
        :ct=LAT:\
        :fc#0177777:\
        :fs#023:\
        :lf=/usr/adm/lp3err:\
        :lp=/dev/tty0u:\
        :mx#200:\
        :of=/usr/lbin/lpf:\
        :pl#66:\
        :pw#80:\
        :sd=/usr/spool/lpd3:\
        :xc#0177777:\
        :xf=/usr/lbin/xf:\
        :xs#044000:

-- 
Bill Bochnik			| It's hard to be a James Bond in an Abbott
Systems Analyst 		|	and Costello world.
Ciba-Geigy Corporation		| Was it love, or was it the idea of being
billb%crpmks@uunet.UU.NET       |       in love. 


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

* Re: LAT based printer setup
       [not found] ` <1994Oct24.084633.2244@sgcl1.unisg.ch>
@ 1994-10-24 22:22   ` Peter da Silva
  1994-10-25 11:45     ` Richard Eckman
  0 siblings, 1 reply; 5+ messages in thread
From: Peter da Silva @ 1994-10-24 22:22 UTC (permalink / raw)


In article <1994Oct24.084633.2244@sgcl1.unisg.ch>,
Eric von Daeniken <g0daeniken@sgcl1.unisg.ch> wrote:
> It is also a good idea to include the latcp command
> 
> /usr/sbin/latcp -A -p tty0a -H serv01 -R port_5
> 
> in the 15th last line of /sbin/init.d/lat, just below '/usr/sbin/latcp -r'.

It's even better to create a file /sbin/init.d/lat_printer with symlinks
in /sbin/init/rc*.d appropriately named. That way your printer config is
easier to drop back into place after a system upgrade, and is why they
created this maze of twisty files in the first place.
-- 
Peter da Silva                                            `-_-'
Network Management Technology Incorporated                 'U`
1601 Industrial Blvd.     Sugar Land, TX  77478  USA
+1 713 274 5180                       "Hast Du heute schon Deinen Wolf umarmt?"


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

* Re: LAT based printer setup
  1994-10-24 22:22   ` Peter da Silva
@ 1994-10-25 11:45     ` Richard Eckman
  1994-10-25 14:53       ` Peter da Silva
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Eckman @ 1994-10-25 11:45 UTC (permalink / raw)


In article <id.1H4E1.HX1@nmti.com> peter@nmti.com (Peter da Silva) writes:

>It's even better to create a file /sbin/init.d/lat_printer with symlinks
>in /sbin/init/rc*.d appropriately named. That way your printer config is
>easier to drop back into place after a system upgrade, and is why they
>created this maze of twisty files in the first place.

  Beginning with OSF/1 v3.0, the /sbin/init.d/lat script runs a 
user-customizable file called /etc/latstartup.conf.  This way, you 
don't need to mess around at all in the /sbin/init.d directory any 
more and one's local LAT customizations will remain intact after a 
system upgrade.

Richard Eckman
NASA Langley
Hampton, VA
eckman@eos1.larc.nasa.gov


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

* Re: LAT based printer setup
  1994-10-25 11:45     ` Richard Eckman
@ 1994-10-25 14:53       ` Peter da Silva
  0 siblings, 0 replies; 5+ messages in thread
From: Peter da Silva @ 1994-10-25 14:53 UTC (permalink / raw)


In article <38ir4j$6kc@reznor.larc.nasa.gov>,
Richard Eckman <eckman@eos1.larc.nasa.gov> wrote:
> In article <id.1H4E1.HX1@nmti.com> peter@nmti.com (Peter da Silva) writes:
> >It's even better to create a file /sbin/init.d/lat_printer with symlinks
> >in /sbin/init/rc*.d appropriately named. That way your printer config is
> >easier to drop back into place after a system upgrade, and is why they
> >created this maze of twisty files in the first place.

>   Beginning with OSF/1 v3.0, the /sbin/init.d/lat script runs a 
> user-customizable file called /etc/latstartup.conf.  This way, you 
> don't need to mess around at all in the /sbin/init.d directory any 
> more and one's local LAT customizations will remain intact after a 
> system upgrade.

Whatever.

The point is that you shouldn't be messing with the scripts already in
/sbin/init.d directly anyway. You're supposed to add new scripts and run
them from /sbin/rc*.d.

(I do wonder about DEC, though. /sbin is supposed to be for system programs,
 not configuration files like /sbin/rc*.d and /sbin/swapdefault)
-- 
Peter da Silva                                            `-_-'
Network Management Technology Incorporated                 'U`
1601 Industrial Blvd.     Sugar Land, TX  77478  USA
+1 713 274 5180                       "Hast Du heute schon Deinen Wolf umarmt?"


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

end of thread, other threads:[~1994-10-25 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-10-20 21:04 LAT based printer setup Dave G Herdman
1994-10-21 13:02 ` Bill Bochnik (Info Systems)
     [not found] ` <1994Oct24.084633.2244@sgcl1.unisg.ch>
1994-10-24 22:22   ` Peter da Silva
1994-10-25 11:45     ` Richard Eckman
1994-10-25 14:53       ` Peter da Silva

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