> From [EMAIL PROTECTED] Thu Jun 15 14:39:03 2000
> From: "Paul Moore" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: LPRng: Printcap entry "filter="
> Date: Thu, 15 Jun 2000 21:27:45 +0100
>
> Hi,
> I've been trying to set up LPRNG on a Debian Linux system, and I'm getting a
> bit confused. I'm trying to set up a print filter, and I'm following the
> tutorial stuff in th HOWTO. However, it isn't working for me. The HOWTO
> shows printcap entries using filter=/dir/xxx, but the text talks about IF
> filters. As far as I can see, using filter=, the filter is not run, but
> using if= it is. I've checked the printcap manpage and I can't see why
> filter shouldn't work.
>
> I scanned the mailing list archives, but a search for "filter" gets quite a
> lot of entries, so I might have missed something...
>
> Can anybody explain what is going on, and maybe what the difference is
> between if and filter?
>
> Thanks in advance, and apologies for the rather basic question...
>
> Paul Moore

In the classical or legacy or vintage or broken BSD Print Spooler
printcap stuff,  you had a set of job formats, each of which
had a print filter.

There was no default print filter.

In LPRng,  you can specify a specific filter for a particular format,
AND you can have a default filter that would be used if there
is not a specific one OR you can have no filter at all:

:if=/filter.for.if
:default=/filter.default

The :of filter must be specified explicitly as it is not really
a 'file' filter,  but is a 'job setup and banner handling' filter.

Sigh...  Legacy crud...

Patrick

-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------


-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to