[cups.development] Unconditional filters
Jan Engelhardt
jengelh at linux01.gwdg.de
Sat Nov 18 03:15:46 PST 2006
On Nov 14 2006 10:06, Michael Sweet wrote:
> Jan Engelhardt wrote:
>> On Nov 14 2006 08:54, Michael Sweet wrote:
>> > Jan Engelhardt wrote:
>> > > is there a way to place an unconditional filter (gziptoany is such
>> > > a kind) into the chain of filters - without the need to modify the
>> > > source?
>> > For a post-filter, use the CUPS 1.2 port monitor support.
>> >
>> > We have some plans to add pre-filter support in a future CUPS release.
>>
>> If a post-filter is what I think it is, then it is probably not much use
>> to me, since I need the job data as-is, that is, in its original form
>> (mostly Postscript) rather than printer language.
>> Pre-filter is also a little problematic unless the gziptoany filter
>> becomes such a (configurable) pre-filter - my filter is after gzip, but
>> before any printer language conversion, so that I can assure that input is
>> mostly postscript, text/plain or image/something.
>
> About all you can do right now is use a custom PPD or interface
> script that then runs the appropriate CUPS filters after your own.
>
> The pre-filter would come after the gziptoany filter but before the
> other job filters.
This is now what I use:
http://vitalnix.svn.sourceforge.net/viewvc/vitalnix/trunk/share/cups-vxlpacct.diff?revision=219
Any improvement suggestions?
-`J'
--
More information about the cups
mailing list