Path: utzoo!utgpu!water!watmath!clyde!rutgers!rochester!ritcv!cci632!ccicpg!felix!zemon From: avolio@decuac.dec.com (Frederick M. Avolio) Newsgroups: comp.unix.ultrix Subject: ?Spooling to a LAT printer? Message-ID: <18692@felix.UUCP> Date: 15 Jan 88 18:55:54 GMT References: <18580@felix.UUCP> Sender: zemon@felix.UUCP Reply-To: avolio@decuac.dec.com (Frederick M. Avolio) Organization: DEC SWS, Landover, MD Lines: 44 Approved: zemon@felix.UUCP Reply-Path: In article <18580@felix.UUCP> mm8s+@psuvax1.UUCP (Michael Meyer) writes: > >Does anyone know how to print to a LAT printer from Ultrix2.0. I am assuming that you have the DECserver port configured correctly as you can printto it from a VMS host. 1. Edit /etc/rc.local ... your lcp line which looks like this: /etc/lcp -s & echo -n ' lat' >/dev/console Should look like this: /etc/lcp -s -h /dev/ttyXX & echo -n ' lat' >/dev/console (ttyXX should be replaced with whatever terminal port on your machine you are using.) 2. Edit /dev/ttys to make sure nothing is running on ttyXX ttyXX "/etc/getty 2" vt100 off nomodem 3. kill -1 1 to goose (technical term... sorry can't explain it) the init process 4. Edit printcap. For example: lp3|ln03|laser printer on LAT:\ :fc#0177777:fs#023:lp=/dev/ttyXX:\ :op=PORT_11:ts=LAT_xxxxxxxxxx:\ :lf=/usr/adm/lpd-errs:sd=/usr/spool/lp3: In place of the 'xxxxxxxxxxx' insert the ethernet hardware addresses of the DECserver. In place of PORT_11 use whatever port it is connected to (EG, PORT_6, PORT_1....) 5. mkdir /usr/spool/lp3 This *should* work. Fred