Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Juergen Schroeder <schroedj@data.ub.uni-marburg.de>
Subject: Re: if for remote printer local defined
Date: 1998/08/26	[thread overview]
Message-ID: <6s17g8$1lo$1@surz18.HRZ.Uni-Marburg.DE> (raw)
In-Reply-To: 6s10ln$oj7$1@lead.zk3.dec.com

Ernest LaBonte <labonte!@!zk3.dec.com> wrote:
: Erhard Glueck wrote:

:> I need a inpufilter on a specific computer for a remote printer (DEC-Alpha
:> OSF1)
:> There is a description for LINUX in the german paper c't 17 1998.
:> But it doesn't function.
:> If I'm not in the right news-group for this question please tell me an other
:>
:> Thank you for an answere
:>
:> Erhard Glueck, RTS GmbH A-1100 Wien (gle@rts.co.at)

: ------
: Digital UNIX does not use print filters in a remote lpd print environment.
: You will need to preformat the file prior to printing. 

Its like Ernest say, like most lpr systems. The old trick is  to  get  a
input  filter to work is to use a _local_ dummy printer /dev/null in the
/etc/printcap. Then the lpd runs the input filter ...

Use a filter  programm  (/usr/local/daemon/filter/if_a2ps  below)  which
catchs stdin and reformat it and send it to the remote printer (raw).

ps|a2ps:\
        :if=/usr/local/daemon/filter/if_a2ps:\
        :lf=/usr/adm/lperr:\
        :lp=/dev/null:\
        :mx#0:\
        :sd=/usr/spool/lpd/a2ps:\

raw|lp1|unix:\
        :lf=/usr/adm/lperr:\
        :lp=:\
        :rm=pcubXX.ub.uni-marburg.de:\
        :rp=unix:\
        :sd=/usr/spool/lpd/raw:\
        :sh:\
        :mx#0:

A minifilter

#!/bin/sh
cat - | lpr -Praw

Hope this helps

	Juergen



  reply	other threads:[~1998-08-26  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <904118947.620371@news.vbs.at>
1998-08-26  4:00 ` if for remote printer local defined Ernest LaBonte
1998-08-26  4:00   ` Juergen Schroeder [this message]
     [not found]     ` <904204872.931088@news.vbs.at>
1998-08-27  4:00       ` Timo Felbinger
1998-08-27  4:00       ` Juergen Schroeder
1998-08-30  4:00 ` Charles M Richmond
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox