From: Juergen Schroeder <schroedj@pcub133.ub.uni-marburg.de>
Subject: Re: Help with print filters
Date: 1998/12/10 [thread overview]
Message-ID: <74ost3$9vo$1@surz18.HRZ.Uni-Marburg.DE> (raw)
In-Reply-To: 74on8e$30p$1@lead.zk3.dec.com
Ernest LaBonte <labonte!@!zk3.dec.com> wrote:
: gabriel_ronin@my-dejanews.com wrote:
:> Does anyone know where I can find an example print filter that is not
[..]
: However as Juergen Schroeder noted print filters are not used in a
: remote print environment. Tcp/ip socket printing has been available
Sorry Ernest, I sayed that input filters were ignored by remote
printers. But one can use filters also for remote printers, the only
trick is to set in the printcap the print device to /dev/null (a local
printer ;-) and forwards the output of the local queue to a remote
(second) printer queue. Thats the filter:
#!/bin/sh
(
echo \\033\E\\033\&l0O\\033\&l6D\\033\&l70P\\033\&l2E\\033\&l66F
echo \\033\&k2G\\033\(s12H\\033\&a12L\\033\&l0S\\033\(0N
cat -
echo \\033%-12345X
) | lpr -P remote_printer
BTW The question has been a uncompiled script as filter, if one uses
a2ps or the apsfilter packages everything is possible (also on dunix).
Juergen
next prev parent reply other threads:[~1998-12-10 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-09 5:00 Help with print filters gabriel_ronin
1998-12-10 5:00 ` Ernest LaBonte
1998-12-10 5:00 ` Juergen Schroeder [this message]
1998-12-10 5:00 ` Ernest LaBonte
1998-12-10 5:00 ` Juergen Schroeder
1998-12-10 5:00 ` Walker Haddock`
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