how to filter to pdf, then pass to custom backend?

Ted Tanaka ted.tanaka at gmail.com
Fri Apr 13 14:41:08 PDT 2012


Hey everyone -

Hope you can help me out.  I need to convert print jobs to PDF then pass them to a custom backend.

The options seem to be:
- add a pstopdf filter, then call my custom backend
- write something like the pdf2email script that calls ghostscript to convert to pdf
- figure out how to daisy chain backends and use CUPS-PDF, then chain my custom backend
- hack CUPS-PDF to add my custom functionality.

I know there's CUPS-PDF, but since there can be only a single backend, I can't add my own custom backend.

I noticed a pstopdf filter, but when I added it to mime.conv, I get the error:

 client-error-document-format-not-supported: Unsupported format 'application/postscript'

Any suggestions on the best way to do this?

Thanks!




More information about the cups mailing list