Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!news.emf.net!overload.lbl.gov!lll-winken.llnl.gov!news.larc.nasa.gov!lerc.nasa.gov!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!EU.net!Germany.EU.net!news.dfn.de!RRZ.Uni-Koeln.DE!se From: se@MI.Uni-Koeln.DE (Stefan Esser) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Printing filter question Date: 18 Oct 1995 18:10:21 GMT Organization: Institute for Mathematics, University of Cologne, Germany Lines: 36 Message-ID: <463fud$n55@news.rrz.uni-koeln.de> References: <45qn2o$irh@uriah.heep.sax.de> <460igq$dag@atlantis.utmb.edu> NNTP-Posting-Host: sysiphos.mi.uni-koeln.de In article <460igq$dag@atlantis.utmb.edu>, bdodson@beowulf.utmb.edu (M. L. Dodson) writes: |> In article <45qn2o$irh@uriah.heep.sax.de>, j@uriah.heep.sax.de (J Wunsch) writes: |> >Michael Enkelis <michaele@macs.mxim.com> wrote: |> >>The way i get this to work, is to make my psx4 printcap entry |> [snip] |> > |> >Yes, i've also been verifying it. This will work. Don't forget to |> >add "lp=/dev/null" for the filter printer entry, otherwise lpd would |> >attempt to open a real device instead. |> >-- |> |> Don't know about FreeBSD, but on Sun OS 4.1.x, using "lp=/dev/null" like this |> fails on some kind of permission problem. I don't remember the exact details. |> What I do is create a real file, e.g., <spool dir>/blackhole.<printer name>, |> to be the "destination". Even though it shouldn't, sometimes stuff actually |> appears in this file. Is the problem with /dev/null file locking ? I once installed several printers connected via terminal servers, and used /dev/null as the local output device. But when the print queues kept growing, I got suspicious, and I found that only one printer was working at a time :) This was on ULTRIX, but I guess that locking of /dev/null works just fine on any UNIX (does it ?). Whether this really is a good thing, I don't know, though ... STefan -- Stefan Esser, Zentrum fuer Paralleles Rechnen Tel: +49 221 4706021 Universitaet zu Koeln, Weyertal 80, 50931 Koeln FAX: +49 221 4705160 ============================================================================== http://www.zpr.uni-koeln.de/staff/esser/esser.html <se@ZPR.Uni-Koeln.DE>