Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 1997 17:32:04 -0700 (MST)
From:      Wes Peters - Softweyr LLC <softweyr@xmission.com>
To:        brandon@cold.org (Brandon Gillespie)
Cc:        questions@freebsd.org
Subject:   Re: printing with two levels of if filters..
Message-ID:  <199704030032.RAA02662@xmission.xmission.com>
In-Reply-To: <Pine.NEB.3.95.970402154722.23202A-100000@cold.org> from "Brandon Gillespie" at Apr 2, 97 03:50:49 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I have print spooling setup through Columbia Appletalk.  This works great,
> EXCEPT for i can only print postscript files.  I would like to setup a
> text2ps filter, except for the way lpd spooled cap works the if is the
> command that spools it to the printer... any suggestions?  I thought of
> setting up two entries for the printer, one of which is the CAP spooler
> and one which is a pre-filter basically, which uses rm to forward to the
> other printer (on the same box) but this does not work, as (I'm guessing)
> any input filters are ignored when you are just forwarding to a remote
> host...

Create a printcap entry for the REAL printer, called "cap," and for the
pseudo-printer, called "lp."  The lp if script mangles the input with
text2ps and pipes it to lpr -Pcap, which gets it to the actual
printer.

You were close!  ;^)

-- 
          "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                       Softweyr LLC
http://www.xmission.com/~softweyr                       softweyr@xmission.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704030032.RAA02662>