[cups.general] receive data from filter
Helge Blischke
h.blischke at srz.de
Thu Dec 30 05:12:02 PST 2004
Carles Pina i Estany wrote:
>
> Hello,
>
> I am doing a filter to split one post script file to two jobs.
>
> The "filter" works fine if i do:
>
> cat file.ps | ./split
>
> I would like to have a printer in Cups that receives a postscript job
> and then process with this "command" or "filter".
>
> I have modified a .ppd file to call my script in cupsFilter, but it
> seems that before i receive the file this one is modified.
>
> I have tried with cupsFilter "*/* 0 split", then
> "Application/some_post_script 0 split" and something more but no good
> results.
>
> Which is the best way to do this?
>
> Thank you very much!
>
What do you intend to achieve by this splitting? By design, CUPS filters
are activated
on a per job basis.
Helge
--
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360
More information about the cups
mailing list