From owner-freebsd-questions@FreeBSD.ORG Thu Apr 24 14:57:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 004BD37B401 for ; Thu, 24 Apr 2003 14:57:22 -0700 (PDT) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id C48A143FB1 for ; Thu, 24 Apr 2003 14:57:20 -0700 (PDT) (envelope-from mwm-dated-1051653439.6b26b4@mired.org) Received: (qmail 89963 invoked from network); 24 Apr 2003 21:57:19 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 24 Apr 2003 21:57:19 -0000 Received: by guru.mired.org (tmda-inject, from uid 100); Thu, 24 Apr 2003 16:57:19 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16040.23997.209531.774174@guru.mired.org> Date: Thu, 24 Apr 2003 16:57:17 -0500 To: Gary Schenk In-Reply-To: <200304231855.17449.gwschenk@socal.rr.com> References: <200304102145.25225.gwschenk@socal.rr.com> <200304222140.12401.gwschenk@socal.rr.com> <16039.3305.100129.716727@guru.mired.org> <200304231855.17449.gwschenk@socal.rr.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.74 (Citation) cc: freebsd-questions@freebsd.org Subject: Re: Newbie lpd printing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 21:57:22 -0000 In <200304231855.17449.gwschenk@socal.rr.com>, Gary Schenk typed: > On Wednesday 23 April 2003 03:00 pm, Mike Meyer wrote: > > In <200304222140.12401.gwschenk@socal.rr.com>, Gary Schenk > typed: > > > On Friday 11 April 2003 09:21 am, Mike Meyer wrote: > > > > I suspect your script is broken for printing postscript files. The > > > > hpif script in the handbook doesn't handle those at all, so I assume > > > > you added that code. > > > No, I did not add anything. This is the script from the handbook. I > > > thought that it was to print postscript to a non-postscript printer. > > > It is essentisally the same script as in FreeBSD Unleashed. > > Where did you find that script? It's pretty badly flawed, and if it's > > in the handbook, that should be fixed. > I got it from the handbook, and a similar script is in 'FreeBSD Unleashed'. > cd / Can you be more precise than "the handbook". The one I found in the handbook didn't have anything in it for handling postscript. > > > As for magicfilter, I'm still working on it. I ran make install in > > > /usr/ports/print/magicfilter. However locate magicfilter shows > > > nothing, except for the above directory. There is nothing in the > > > /usr/local/bin directory indicating anything was installed. A google > > > search sent me to > > > http://newbiedoc.sourceforge.net/peripherals/printer-magicfilter.html > > > , which is for Debian Linux. It talks about running magicfilterconfig. > > > I assume there is nothing like this in FreeBSD? > > I don't know what's in the Debian docs are talking about. In > > particular, there's a rewrite of magicfilter from the ground up that > > bills itself as magicfilter 2.0 that they may be talking about. That's > > irrelevant to the magicfilter port. The magicfilter should install > > /usr/bin/magicfilter. It also installs printer filter scripts in > > /usr/local/libexec/magicfilter/. > I have no /usr/bin/magicfilter, but there are filter scripts in > /usr/local/libexec/magicfilter. Strange that "locate magicfilter" did not > show that. And I did run periodic and weekly. I goofed - that's /usr/local/bin/magicfilter. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.