Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2006 02:23:57 GMT
From:      Jonathan Fosburgh <jonathan@fosburgh.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/99707: CUPS in ports can't print raw data using application/octet-stream
Message-ID:  <200607020223.k622NvFu087072@www.freebsd.org>
Resent-Message-ID: <200607020230.k622UJFZ041119@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         99707
>Category:       ports
>Synopsis:       CUPS in ports can't print raw data using application/octet-stream
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 02 02:30:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Fosburgh
>Release:        6.1-STABLE
>Organization:
>Environment:
FreeBSD gw.fosburgh.org 6.1-STABLE FreeBSD 6.1-STABLE #6: Fri Jun 30 22:01:19 CDT 2006     root@gw.fosburgh.org:/usr/obj/usr/src/sys/vmbsd  amd64

>Description:
CUPS version 1.2.0 contains a bug (#1667) that breaks automatic raw data printing using the application/octet stream mime type.  This is fixed in 1.2.1, or via patch to the current version. The following error is in /var/log/cups/error_log:

Print-Job client-error-document-format-not-supported: Unsupported format 'application/octet-stream'!

Even if the application/octet-stream entries are uncommented in /usr/local/etc/cups/mime.types and mime.convs.

Also, it appears that the port clobbers the mime.convs file when it is installed.
>How-To-Repeat:
This is most often encountered when printing to CUPs printers from a Windows client with the windows driver.  Especially if you are not using samba (instead using IPP).  Samba has a workaround for this, apparently.  Otherwise, try to print raw data without passing -oraw to the command.
>Fix:
Upgrade to 1.2.1, or apply patch str1667.patch from following location:

http://www.cups.org/str.php?L1667




>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607020223.k622NvFu087072>