[cups.bugs] [LOW] STR #1501: Activate "raw" only in mime.types results no longer any "document-format-not-supported" error

jsmeix.suse jsmeix at suse.de
Wed Mar 22 05:12:40 PST 2006


[STR New]

I found this minor problem in CUPS 1.1.23.
It is perfectly sufficient to fix it in 1.2.x.

Acivate application/octet-stream only in /etc/cups/mime.types
but leave it disabled in /etc/cups/mime.convs.

This allows printing of arbitrary data only for raw queues
and for queues with a "System V style interface script"
but not for queues with full CUPS filtering using a PPD file.

The only minor drawback is that there is no longer any
"client-error-document-format-not-supported" error code.

Printing unsupported application/octet-stream data
via a queue with full CUPS filtering fails silently for the user.

In /var/log/cups/error_log there is
------------------------------------------
E ... Unable to convert file 0 to printable format for job 123!
I ... Hint: Do you have ESP Ghostscript installed?
------------------------------------------

Link: http://www.cups.org/str.php?L1501
Version: 1.1.23





More information about the cups-devel mailing list