Problem getting LAT printers to work on Ultrix V4.0

Michael Paddon mwp at ubeaut.oz.au
Thu Oct 4 18:15:25 AEST 1990


>From article <7113.26fc941d at swift.cs.tcd.ie>, by michael at swift.cs.tcd.ie:
> We are having problems getting printers going using ports on a DECSERVER-200
> under Ultrix version 4.0, even though these seem to work on Ultrix 3.0 and on
> VMS 5.2.
> 
> We think we have followed the instructions in the manual.
> 
> Has anybody got LAT printers going under Ultrix 4.0 and did they have to do
> anything special ?

I've been running LAT printers under 4.0 for several months now with no
problems. I don't recall doing anything special so here's the relevant
setup details:

(1) Make sure your ethernet interface is ifconfig'd up.

(2) Make some LAT tty devices in /dev (major # = 39). You can use MAKEDEV
    for this, but I prefer non-decstandard names to differentiate them from
    real ttys so I use mknod.

(3) You should have some lines in /etc/rc.local (near the end is good)
    that look something like mine:

/etc/lcp -s -g 0,1,2,3,4,5,100,101,102,103,104,105\
	-h `echo /dev/ttym? | sed -e 's/ /,/g'`\
	-H `echo /dev/ttyl? | sed -e 's/ /,/g'`\
	-n godzilla -N "Projects Unit MicroVAX II"\
	-v godzilla -V "Ultrix 4.0"
echo 'LAT started.'						>/dev/console

    Make sure you include the group number required for access to your
    printer in the '-g' string. All the stuffing around with sed was to
    make less typing for me; you can just list the relevant ttys, seperated
    by commas.

(4) You should set up /etc/printcap a bit like mine:

ln03r|ps|lp1|lp|LN03R laser printer:\
	:lp=/dev/ttym0:ts=TSERVE:op=LN03R:\
	:if=/usr/lib/lpdfilters/ln03rof:\
	:of=/usr/lib/lpdfilters/ln03rof:\
	:sd=/usr/spool/lpd/8x5_ln03r:\
	:lf=/usr/adm/lpd-errs:\
	:mx#0:pw#80:sh:

    The important bit is the 'ts=TSERVE' which indicates which terminal
    server to use and 'op=LN03R' which says which port on the server the
    printer is connected to.


I hope this helps...

					Michael

-------------------------------------------------------------------
|                     |     Internet: paddon at meo78b.enet.dec.com  |
|                     |     ACSnet:   mwp at ubeaut.oz.au            |
|  Michael Paddon     |     ACSnet:   mwp at munnari.oz.au           |
|                     |     EasyNet:  meo78b::paddon              |
|                     |     Voice:    +61 3 895 9392              |
-------------------------------------------------------------------



More information about the Comp.unix.ultrix mailing list