*BSD News Article 63660


Return to BSD News archive

#! rnews 2296 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!cs.utexas.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.jaguNET.com!news
From: Paul Chakravarti <paulc@jagunet.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: A couple of questions about FreeBSD
Date: Sun, 03 Mar 1996 16:22:42 -0500
Organization: jaguNET Access Services
Lines: 48
Message-ID: <313A0DA2.41C67EA6@jagunet.com>
References: <4h5m2o$amd@gryphon.phoenix.net> <4h5u5d$9j@news-2.csn.net> <31393D15.167EB0E7@jagunet.com>
NNTP-Posting-Host: dlup-c.jagunet.com
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------446B9B3D2781E494167EB0E7"
X-Mailer: Mozilla 2.0 (X11; I; FreeBSD 2.1.0-RELEASE i386)

This is a multi-part message in MIME format.

--------------446B9B3D2781E494167EB0E7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Paul Chakravarti wrote:
> 
> John J. Rushford wrote:
> >
> > Hi,
> >
> < SNIP >
> >
> >    1)  I've got a postscript laser printer that I'd like to get working.
> >        I don't know how to build the proper printcap entry for it.  I also
> >        believe that I need something like ghostscript which I've installed
> >        from the CD.  Do I need ghostscript?  Has anyone got a sample printcap
> >        and filter that I could use?
> >
> 
> You could try apsfilter - 'smart' filter which will setup printcap automatically - it
> supports HP and PS printers - works very well with my HP Deskjet 855C and I would
> recommend - not tried with a PS printer - appears on most Linux distributions
> (aps-48.tgz) but not the 2.1 CD (?) - see
> 
> http://www.phys.ufl.edu/docs/goodies/unix/sys_admin/apsfilter.html
> 
> for some info/pointers (good site for finding useful things)
> 

Sorry I forgot to mention that you have to patch rewindstdin.c to include unistd.h
to get rewindstdin to work - hardly worth a patch so here is the whole file -

--------------446B9B3D2781E494167EB0E7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="rewindstdin.c"

#include <unistd.h>

main()
{
     return lseek(0,0L,0) < 0;
}

--------------446B9B3D2781E494167EB0E7--