From owner-freebsd-questions Tue Feb 26 21:21:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 5680637B400 for ; Tue, 26 Feb 2002 21:21:15 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g1R5LDdq113732; Wed, 27 Feb 2002 00:21:14 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: Date: Wed, 27 Feb 2002 00:21:12 -0500 To: Alan Litchfield From: Garance A Drosihn Subject: Re: lpd and lpr Cc: Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:50 AM +1300 2/27/02, Alan Litchfield wrote: >Thanks for that. I made the change as you suggested but still get the >broken pipe message when dvips is run, and now I get this when lpr is run: > >Feb 27 11:34:08 lines lprps[904]: ioctl(TIOCFLUSH): Inappropriate ioctl >for device > >I cannot get rid of it now, I have commented out the new line but lpr* >seems to be broken :( > >I have set the spool directory to /home/spool/ and this seems OK. > >Here is the printcap specs if they help. > >remote|lp|lpr|hplj-5|:lp:\ > :sh:\ > :rm=192.168.6.8:rp=RAW:\ > :mx#0:\ > :if=/usr/local/libexec/lprps:sd=/home/spool/lpd/hplj-5:\ > >I guess I am a bit stuck now, since it wont print at all. Hmm, I may have read this message too quickly. If you just changed the sd= entry to /home/spool/lpd/hplj-5 , then make sure all the segments of that are permitted correctly, and have the right owner and group set. You mention that you "commented out" the new line. Which line? that mx#0 line? it is probably not a good idea to comment-out a line in the middle of a printcap entry. Delete the line if you want to get rid of it. Save his email if you want to remember what it was you tried... :-) One possible problem is those same continuation characters. if you have: # :mx#0:\ then I'm pretty sure that the '\' will mean that the *following* line will be added to this comment line. -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message