From owner-freebsd-hackers Fri Jan 31 13:04:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA12336 for hackers-outgoing; Fri, 31 Jan 1997 13:04:12 -0800 (PST) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA12272 for ; Fri, 31 Jan 1997 13:03:52 -0800 (PST) Received: from awfulhak.demon.co.uk (localhost.coverform.lan [127.0.0.1]) by awfulhak.demon.co.uk (8.8.4/8.7.3) with ESMTP id UAA23897; Fri, 31 Jan 1997 20:40:20 GMT Message-Id: <199701312040.UAA23897@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: dkelly@hiwaay.net cc: Keith Mitchell , hackers@freebsd.org Subject: Re: lpd - remote printing with an output filter In-reply-to: Your message of "Thu, 30 Jan 1997 19:25:44 CST." <199701310127.TAA21295@nexgen.ampr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 31 Jan 1997 20:40:20 +0000 From: Brian Somers Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Keith Mitchell writes: > > > > > Has anyone got any problems with me making this work ? It's always > > > irritated me ! It consists of two one-liners to printjob.c. > > > > No, but I would like to see it happen. I have several printers hanging off > > a HP JetDirect EX print server and there is no way to run an output filter > > on them. Consequently, the user must KNOW not to just blindly print to it. > > (sigh). > > I was looking thru the handbook the other night while setting up my > printer. Saw a comment that one way to implement a filter on a remote > printer was to make a "virtual" local printer with an "if" or "of" filter > of your choice which ultimately pipes the output right back into "lpr > -Preal_printer". Doesn't seem so hard? I must be missing something. This works - it's what I eventually did under Sequent-PTX. Never the less, it's a workaround for a deficiency that shouldn't really be there. -- Brian , Don't _EVER_ lose your sense of humour....