From owner-freebsd-hackers Sat Sep 30 22:56:54 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA07661 for hackers-outgoing; Sat, 30 Sep 1995 22:56:54 -0700 Received: from mail.telstra.com.au (mail.telstra.com.au [192.148.160.10]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA07623 for ; Sat, 30 Sep 1995 22:56:34 -0700 Received: from mail_gw.fwall.telecom.com.au(192.148.147.10) by mail via smap (V1.3) id sma005887; Sun Oct 1 15:53:27 1995 Received: from cdn_mail.dn.itg.telecom.com.au(144.135.109.134) by mail_gw.telecom.com.au via smap (V1.3) id sma021272; Sun Oct 1 15:53:13 1995 Received: from amalfi.trl.OZ.AU (amalfi.trl.OZ.AU [137.147.99.99]) by cdn_mail.dn.itg.telecom.com.au (8.6.11/8.6.9) with ESMTP id PAA15385; Sun, 1 Oct 1995 15:52:56 +1000 Received: from orca1.vic.design.telecom.com.au ([145.136.55.131]) by amalfi.trl.OZ.AU (8.6.10/8.6.12) with SMTP id LAA15844; Sun, 1 Oct 1995 11:34:41 +1000 Received: from netbsd08.dn.itg.telecom.com.au by orca1.vic.design.telecom.com.au with SMTP (1.37.109.4/16.2) id AA19497; Sun, 1 Oct 95 11:33:52 +1000 Received: from netbsd08.dn.itg.telecom.com.au (netbsd08.dn.itg.telecom.com.au [144.139.63.32]) by netbsd08.dn.itg.telecom.com.au (8.6.8/8.6.6) with SMTP id JAA24466; Sun, 1 Oct 1995 09:33:47 +0759 Date: Sun, 1 Oct 1995 09:33:46 +0800 (WST) From: Terry Dwyer To: Sean Kelly Cc: imb@scgt.oz.au, hackers@FreeBSD.ORG Subject: Re: Low end PS laser, or inkjet/bubblejet In-Reply-To: <9509281304.AA09023@emu.fsl.noaa.gov> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG Precedence: bulk [ deleted ] > > michael> Whilst not directly related .. I run a pair of HP4s (one > michael> M+ and one MV for A3 printing) with JetDirect cards and, > michael> therefore, an "rm" entry in /etc/printcap. What surprised > michael> me was that I don't seem to be able to get any filters to > michael> preprocess the stuff before shooting it at the printer. > > Ah, yep. The LPD protocol says that filtering of jobs happens on the > printer host. And if the printer host is itself the printer, it's > expected to have enough smarts to know how to convert DVI, troff, > ditroff, cifplot, Fortran Text, etc., to native format. > > michael> Is this what's supposed to happen ? How do I fix it ? :-) > > Oh, I'm sure it's not what you wanted! You can fix it if your > JetDirect card also supports non-server (LPD) mode---if it just has > some data stream mode, where it listens to a certain port number and > prints any data that comes in, rather than emulate a spooling host. > > If it can do that, then set up on of your FreeBSD hosts to be the > printer host. Then you can have the conversion filters for the > formats you want to support. Have them send their results to the > printer. > > Or, use PLP or LPRng, which support filtering of jobs on the > submitting host instead of the printer host---then you can still use > the server mode on the printer. > I saw a tip some time ago. try these printcap entries for an HP LJ4SI: The key is the rp=text|raw l4si_txt|ASCII remote line printer:\ :sh:lp=:rm=144.139.64.98:rp=text:sd=/var/spool/lpd:\ :lf=var/log/lpd-errs:pw#80: l4si_raw|BINARY remote line printer on witg_networks_f1:\ :sh:lp=:rm=144.139.64.98:rp=raw:sd=/var/spool/lpd:\ :lf=var/log/lpd-errs:pw#80: _-_|\ Terry Dwyer E-Mail: tdwyer@netbsd08.dn.itg.telecom.com.au / \ System Administrator Phone: +61 9 491 5161 Fax: +61 9 221 2631 *_.^\_/ Telecom Australia Telstra Corporation MIME capable mailer v Perth WA ( I do not speak for Telstra or Telecom )