Xref: utzoo comp.unix.ultrix:4805 comp.sys.dec:4190 Path: utzoo!attcan!uunet!munnari.oz.au!mtiame!ubeaut!mwp From: mwp@ubeaut.oz.au (Michael Paddon) Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: Re: Problem getting LAT printers to work on Ultrix V4.0 Message-ID: <259@ubeaut.oz.au> Date: 4 Oct 90 08:15:25 GMT References: <7113.26fc941d@swift.cs.tcd.ie> Followup-To: comp.unix.ultrix Organization: Digital Equipment Corp., Melbourne, Australia Lines: 61 From article <7113.26fc941d@swift.cs.tcd.ie>, by michael@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@meo78b.enet.dec.com | | | ACSnet: mwp@ubeaut.oz.au | | Michael Paddon | ACSnet: mwp@munnari.oz.au | | | EasyNet: meo78b::paddon | | | Voice: +61 3 895 9392 | -------------------------------------------------------------------