problem defining new mime types

Marc Kutscher mkutscher at
Fri Aug 5 08:45:13 PDT 2005

>What you want to do is add a new /etc/cups/lsoft.types file with:
>     application/x-lsoft string(0,<10>$03EXRV 2.1) string(0,#OPRT()
>and then reference that type in your cupsFilter line:
>     *cupsFilter: "application/x-lsoft 0 /opt/detec/lsoft/bin/lscups"
>Michael Sweet, Easy Software Products           mike at easysw dot com
>Internet Printing and Document Software

Hi Michael!

thanks for your quick response! unfortunately i still don't succeed...

a file starting with "<10>$03EXRV" is refused

"lp: unable to print file: client-error-document-format-not-supported"

error_log says

d [05/Aug/2005:17:33:14 +0200] print_job(0x403ff008[5], ipp://localhost:631/printers/lstest)
D [05/Aug/2005:17:33:14 +0200] print_job: auto-typing file...
E [05/Aug/2005:17:33:14 +0200] print_job: Unsupported format 'application/octet-stream'!
I [05/Aug/2005:17:33:14 +0200] Hint: Do you have the raw file printing rules enabled?
d [05/Aug/2005:17:33:14 +0200] send_ipp_error(0x403ff008[5], 40a)
D [05/Aug/2005:17:33:14 +0200] Sending error: client-error-document-format-not-supported

a file starting with "#OPRT(" is accepted, but there is no output...

any ideas?

Marc Kutscher
mkutscher at

More information about the cups mailing list