Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 1995 18:56:27 -0400 (EDT)
From:      Joseph Steinberg <steinber@SLINKY.CS.NYU.EDU>
To:        Sean Kelly <kelly@fsl.noaa.gov>
Cc:        questions@freebsd.org
Subject:   Re: 4 quickies (hopefully)
Message-ID:  <Pine.SUN.3.91.950716185344.27767A-100000@slinky.cs.nyu.edu>
In-Reply-To: <9507162124.AA16976@emu.fsl.noaa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
The file that you gave me causes the printer to get stuck in an endless 
loop -- saying that there is some error with cat...

#	@(#)printcap	5.3 (Berkeley) 6/30/90

# 1 (my original)
#lp|local line printer:\
#	:lp=/dev/lpt0:sd=/var/spool/lpd:lf=/var/log/lpd-errs:

# 2 the one you gave me
#lp|HP LaserJet 4 with PostScript and 6 MB:\
#        :lp=/dev/lpt0:mx#0:sh:if=/bin/cat:

When I use the first definition for lp -- I get blank pages -- and one 
page with a little junk on it; When I use the second I get some error to 
stdout over and over, and tons of blank pages from the printer...

JS

On Sun, 16 Jul 1995, Sean Kelly wrote:

> >>>>> "Joseph" == Joseph Steinberg <steinber@slinky.cs.nyu.edu> writes:
> 
>     Joseph> ( 1 ) I am having difficulty configuring lp. I have an
>     Joseph> HP-Laserjet 4 with Postscript and 6 megs of RAM. I can
>     Joseph> print PS files by su-ing to root and cat-ing them to
>     Joseph> /dev/lpt0 -- but I cannot print with lp (I get blank pages
>     Joseph> from the printer.) Please advise. (I probably did not
>     Joseph> configure printcap properly, but I am not sure what to
>     Joseph> do.)
> 
> I'd like to see a copy of your /etc/printcap file, but if you're in a
> hurry, try this diminutive /etc/printcap:
> 
> lp|HP LaserJet 4 with PostScript and 6 MB:\
> 	:lp=/dev/lpt0:mx#0:sh:if=/bin/cat:
> 
>     Joseph> ( 3 ) Is there a way to display a message before the
>     Joseph> 'login:' prompt?
> 
> See man gettytab(4) and /etc/gettytab.
> 
> -- 
> Sean Kelly
> NOAA Forecast Systems Lab, Boulder Colorado USA
> 
> Smoke ballpoint pens.
> -- One of 120 ways to annoy your roommate.
> 


     _                      _
    | | ___  ___  ___ _ __ | |__      Joseph Steinberg
 _  | |/ _ \/ __|/ _ \ '_ \| '_ \     steinber@slinky.cs.nyu.edu
| |_| | (_) \__ \  __/ |_) | | | |    http://haven.ios.com/~likud/steinber/
 \___/ \___/|___/\___| .__/|_| |_|    +1-201-833-9674
                     |_|





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.950716185344.27767A-100000>