Mailinglist Archive: opensuse (1746 mails)

< Previous Next >
Re: [SuSE Linux] how to switch apsfilter settings?
  • From: jrodman@xxxxxxxx (Josh Rodman)
  • Date: Sat, 24 Apr 1999 00:09:09 -0700
  • Message-id: <19990424000909.E7135@xxxxxxxxxxxxxxx>



Hello Wybo,

* Wybo Dekker (wybo@xxxxxxxxxxxxxxxxx) [990421 02:28]:
>
> Hi,
>
> I like apsfilter and have set FEATURE=2. But sometimes I would like to
> temporarily set it to 1l, without actually changing apsfilterrc. Is
> there a way to do that via a lpr-parameter or an environment variable
> or otherwise?

Well, if you happen to be using LPRng (you aren't by default), it's as
simple as

lpr -Z feature=2

or whatever other feature setting you might want. The default lp system
supplied with SuSE doesn't support this -Z switch (and if what you have is
working, I'll be the last to suggest changing it for one whizzy feature).
You could also create an additional printer queue which is configured just
like the one you have now, but with a different feature setting. You can
choose the feature string in a printer-by-printer basis in the file
/etc/apsfilterrc.<printername>.

Then you could name them printer.single and printer.double or something
like this, so as to achieve a choice.

lpr -Pprinter.single
lpr -Pprinter.double

Best of luck,

Joshua Rodman
SuSE Inc.

> --
> Hartelijke groet, Wybo
> --
> __Servalys Analytical Chemistry Services__
> Wybo H. Dekker wybo@xxxxxxxxxxxxxxxxx
> Deilsedijk 60 www.hobby.nl/~servalys
> 4158 CH Deil tel +31-345-652164
> The Netherlands fax +31-345-652383

--
To get out of this list, please send email to majordomo@xxxxxxxx with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/";><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the
archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html";><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>


< Previous Next >
References