problem defining new mime types

Marc Kutscher mkutscher at detec.de
Mon Aug 8 07:59:44 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

Hi Michael!

since the file contains "not printable characters" i can not really post it here. may i send it to by e-mail?

no, the filter is not called with the mime type "application/x-lsoft"
error_log says (for the one starting with "#OPRT("):
"
...
D [08/Aug/2005:16:48:13 +0200] print_job: auto-typing file...
D [08/Aug/2005:16:48:13 +0200] print_job: request file type is application/x-lsoft.
...
d [08/Aug/2005:16:48:13 +0200] add_file(con=0xb7b98008[5], job=62, filetype=application/x-lsoft, compression=0)
...
E [08/Aug/2005:16:48:13 +0200] Unable to convert file 0 to printable format for job 62!
I [08/Aug/2005:16:48:13 +0200] Hint: Do you have ESP Ghostscript installed?
D [08/Aug/2005:16:48:13 +0200] CancelJob: id = 62
"

thanks for yopur help!

marc kutscher
mkutscher at detec.de




More information about the cups mailing list