Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 00:21:12 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Alan Litchfield <alan@alphabyte.co.nz>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: lpd and lpr
Message-ID:  <p05101406b8a21bffc304@[128.113.24.47]>
In-Reply-To:  <Pine.LNX.4.30.0202271148090.1857-100000@localhost.localdomain>
References:  <Pine.LNX.4.30.0202271148090.1857-100000@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05101406b8a21bffc304>