problem defining new mime types

Michael Sweet mike at easysw.com
Fri Aug 5 09:25:02 PDT 2005


Marc Kutscher wrote:
>>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          http://www.easysw.com
> 
> 
> 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"
 > ...

Well, two things:

     1. Post the first couple lines of "od -x filename" for a file
        starting with <10>$03EXRV.

     2. When you print the other kind of file, is your filter getting
        called?  Any interesting error/debug messages in error_log?

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list