Bug 99707 - CUPS in ports can't print raw data using application/octet-stream
Summary: CUPS in ports can't print raw data using application/octet-stream
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ion-Mihai "IOnut" Tetcu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-02 03:30 UTC by Jonathan Fosburgh
Modified: 2006-08-06 10:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Fosburgh 2006-07-02 03:30:19 UTC
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.

Fix: 

Upgrade to 1.2.1, or apply patch str1667.patch from following location:

http://www.cups.org/str.php?L1667
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-07-02 07:55:23 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 mwisnicki 2006-07-02 22:34:18 UTC
Update to 1.2.1 provided in
http://www.freebsd.org/cgi/query-pr.cgi?pr=99624
Comment 3 Jonathan Fosburgh 2006-07-03 13:38:01 UTC
On Sunday 02 July 2006 16:34, Marcin Wisnicki wrote:
> Update to 1.2.1 provided in
> http://www.freebsd.org/cgi/query-pr.cgi?pr=99624

Cool.  I was also going to bring up the permission problems ... I noticed I 
now have to change permissions on /dev/ulpt in order to print.  Looks like 
this PR seeks to address that.
-- 
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX
Comment 4 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-07-06 06:57:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->itetcu

Take all cups PRs.
Comment 5 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-07-07 21:27:26 UTC
State Changed
From-To: feedback->patched

Should be fixed by patch in ports/99624
Comment 6 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-08-06 10:17:00 UTC
State Changed
From-To: patched->closed

Update to 1.2.2 and many fixes commiter. If problems perssist please 
open a new PR. Thanks for your effort.