From: Emmanuel Choquet <ics@cica.fr>
To: bob.findlay@bbsrc.ac.uk
Subject: Re: filtering jobs sent to a remote machine
Date: 1998/04/08 [thread overview]
Message-ID: <352B1EED.5C8BA250@cica.fr> (raw)
In-Reply-To: 3528F993.8DB6579C@bbsrc.ac.uk
bob.findlay@bbsrc.ac.uk wrote:
> Hello,
> I want to be able to filter a printer's jobs. The problem is, that I
> want to filter on machine A (OSF), but the queue is actually on machine
> B (NT). Does anyone know how I can fool printcap into filtering the job
> and then passing it on to the NT machine? I'm using lpr
>
> thanks (in hope)
> Bob Findlay
Not from me ,but got it some time ago in this news group, works well, I did
it several times. :
From: schroedj@ub.uni-marburg.de (Juergen Schroeder)
The lack of filtering by printing remote is usual in most unix (lpd) types.
This can't be elegant overided by a old but not well known trick:
make a printqueue which print raw to the remote printer
make multiple printqueues for the features you want have
eg one called landscape
this should have this entries in the printcap:
:if=/usr/local/daemon/filter/input_filter_landscape:\
:lp=/dev/null:\
make the filter input_filter_landscape
(echo "here the esc-sequences for initialising the printer & landscape mode"
cat - ) | lpr -Praw
thats all
you can make this queues if you want on only one machine and print remote
to this machine.
No fiddeling with lpd source code.
--
Emmanuel Choquet
Informatique Client/Serveur
& Communication
_/
_/
_/ _/_/_/ _/ _/_/_/
_/ _/ _/ _/
_/ _/ _/ _/_/_/
_/ _/ _/ _/
_/ _/_/_/ _/ _/_/_/
ics@cica.fr
c/o Cica Tel: (33) 4 92.94.23.50
2229, route des cretes fax: (33) 4 92.94.23.54
06560 Sophia-Antipolis
next prev parent reply other threads:[~1998-04-08 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-06 4:00 filtering jobs sent to a remote machine bob.findlay
1998-04-06 4:00 ` James Hebert
1998-04-07 4:00 ` Jacob Langford
1998-04-08 4:00 ` Emmanuel Choquet [this message]
1998-04-09 4:00 ` Ernest LaBonte
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