From owner-freebsd-questions Mon Oct 6 19:01:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA16710 for questions-outgoing; Mon, 6 Oct 1997 19:01:54 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA16704 for ; Mon, 6 Oct 1997 19:01:48 -0700 (PDT) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id CAA07406; Tue, 7 Oct 1997 02:24:38 +0100 (BST) Message-Id: <199710070124.CAA07406@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Dan Busarow cc: Doug Kite , freebsd-questions@FreeBSD.ORG Subject: Re: input filter for lp In-reply-to: Your message of "Mon, 06 Oct 1997 10:21:33 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 07 Oct 1997 02:24:38 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Mon, 6 Oct 1997, Doug Kite wrote: > > Here's the /etc/printcap entry: > > lp|hp|hp4v|HP Laserjet 4V|\ > > :sd=/var/spool/lpd/hp:\ > > :rm=192.168.0.15:\ > > :rp=text:\ > > :lp=:\ > > :if=/usr/bin/lpfilter:\ > > :lf=/var/log/lpd-errs:\ > > :sh: > > I think that you will need to install the filter on the > remote system and have it's lpd configured to use the filter. Not true in -current (and I think I brought the changes back into 2.2). You can now use filters w/ remote printers.... since 2.2.2 AFAIR. The only difference is that output filters will be executed once per job when remote printing ('cos it has to figure out how big the file is before talking to the remote lpd). Perhaps the problem is that the filter doesn't have a #! /bin/sh at the top. > Dan > -- > Dan Busarow 714 443 4172 > DPC Systems / Beach.Net dan@dpcsys.com > Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 > -- Brian , , Don't _EVER_ lose your sense of humour....