home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!sdd.hp.com!caen!hellgate.utah.edu!cc.usu.edu!kaos.declab.usu.edu!hal
- Newsgroups: comp.unix.ultrix
- Subject: Re: Problems with printing over lat
- Message-ID: <1992Sep4.093546.58624@cc.usu.edu>
- From: hal@kaos.declab.usu.edu (000200 Lynch)
- Date: 4 Sep 92 09:35:44 MDT
- Reply-To: hal@kaos.declab.usu.edu (000200 Lynch)
- Sender: hal@kaos (000200 Lynch)
- References: <1992Sep3.160601.14744@mother.bates.edu>
- Distribution: world
- Organization: Utah State University
- Keywords: printing, lat
- Nntp-Posting-Host: kaos.declab.usu.edu
- Lines: 58
-
- In article <1992Sep3.160601.14744@mother.bates.edu>, rob@mother.bates.edu (Rob Spellman) writes:
-
- stuff deleted
-
- |>
- |>I have been trying to setup a print service over lat. I can print
- |>fine for a while, and then I get errors in /usr/adm/lpd3-err. The error is:
- |>
- |>/usr/lib/lpd: test: cannot open /dev/tty17: Can't assign requested address
- |>
- |>Jobs keep piling up until I run lcp -h /dev/tty17 again. Then it will run
- |>for a while, and then start giving me errors again.
- |>
- |>Anybody seen this problem, and how do I fix it?
- |>
- |>I'm running Ultrix 4.2a on a Decstation 5000/240.
- more stuff deleted
-
- I am having the same problem on my DS500/200 running 4.2. I am using
- ln03rof as my filter talking to an Apple laserwriter. Software support
- has no solution as yet and neither do I. What I am doing is running the
- following shell script from crontab every minute?! AAAAARRRRRGGGGGGGHHHHHHH
-
- #! /bin/sh
- doit=0
- /etc/lpc status lw_seer > /tmp/lw_seer.status
- /usr/ucb/grep -s 'no entries' < /tmp/lw_seer.status
- if test $? -eq 0 ; then
- exit 0
- fi
- /usr/ucb/grep -s 'offline' < /tmp/lw_seer.status
- if test $? -eq 0 ; then
- doit=1
- fi
- /usr/ucb/grep -s 'no daemon' < /tmp/lw_seer.status
- if test $? -eq 0 ; then
- doit=1
- fi
- if test $doit -eq 1 ; then
- (echo -n "lw_seer restarted @ " ; date) >> /usu/adm/nite/lw_seer.log
- /etc/lcp -p /dev/tty07 >> /usu/adm/nite/lw_seer.log
- /etc/lcp -h /dev/tty07:TERM04:PORT_14 >> /usu/adm/nite/lw_seer.log
- /etc/lpc restart lw_seer >> /usu/adm/nite/lw_seer.log
- fi
-
- This is a lot like burning the house down to get rid of the termites, but it
- works.
- |>--
- |>Rob Spellman
- |>rob@mother.bates.edu
- |>Computing Support Services
- |>Bates College
- |>
- --
- Hal Lynch
- Internet: Hal@cache.declab.usu.edu
- DECnet: USU::HAL
-