[cups.general] receive data from filter

Carles Pina i Estany carles at pinux.info
Wed Dec 29 06:14:21 PST 2004


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!

-- 
Carles Pina i Estany		GPG id: 0x8CBDAE64
	http://pinux.info
	The easiest way to get the root password is to become system admin.





More information about the cups mailing list