Red Hat Bugzilla – Bug 192194
raw file printing doesn't work after upgrading to cups-1.2.0-1.1
Last modified: 2007-11-30 17:11:33 EST
Description of problem:
raw file printing doesn't work afer upgradind to cups-1.2.0-1.1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.upgrade to cups-1.2.0-1.1
2.print from a remote machine
3.see wath you get and the error_log
Print-Job client-error-document-format-not-supported: Unsupported format
How about if you run these commands, as root, on the server?:
/sbin/service cups restart
Nothing appears, same error(s) as before.
There in another error before, here is the log:
I [18/May/2006:13:16:46 +0200] Configured for up to 100 clients.
I [18/May/2006:13:16:46 +0200] Allowing up to 100 client connections per host.
I [18/May/2006:13:16:46 +0200] Using policy "default" as the default!
I [18/May/2006:13:16:46 +0200] Full reload is required.
I [18/May/2006:13:16:46 +0200] Loaded MIME database from '/etc/cups': 34 types,
I [18/May/2006:13:16:46 +0200] Loading job cache file "/var/cache/cups/job.cache"...
I [18/May/2006:13:16:46 +0200] Full reload complete.
I [18/May/2006:13:16:46 +0200] Listening to :::631 on fd 0...
I [18/May/2006:13:16:46 +0200] Listening to 0.0.0.0:631 on fd 2...
E [18/May/2006:13:16:46 +0200] Unable to set ACLs on root certificate
"/var/run/cups/certs/0" - Operation not supported
E [18/May/2006:13:17:14 +0200] Print-Job
client-error-document-format-not-supported: Unsupported format
Please attach the output of 'printconf-tui --Xexport'. Thanks.
*** Bug 192232 has been marked as a duplicate of this bug. ***
Created attachment 129436 [details]
You don't have a raw queue defined, and so printconf doesn't configure CUPS for
raw printing. At some point, I expect you edited /etc/cups/mime.convs by hand
to enable raw printing.
Using Desktop->Administration->Printing, add a raw print queue. Just call it
'raw' if you like. On the 'Printer model' page, scroll down to the bottom and
select 'Raw Print Queue'.
Does printing work now?
it is new in cups 1.2 ??
works just perfect! but this is definitively new in 1.2.
Thanks, fixed my problem too!
This is not new in CUPS-1.2; CUPS-1.1.x behaves in exactly the same way.
In fact it is system-config-printer that does this, changing the mime.types file
automatically depending on whether raw queues are defined. It has always
behaved that way on FC5.
If you've had raw printing working before without raw queues being defined, you
have edited /etc/cups/mime.types by hand (or some other program has done for
you). This will always be overwritten whenever you change your printer
configuration or update CUPS.
before 1.2, i never had to do this way!
anyway, thanks for your help...
But had you edited /etc/cups/mime.types to uncomment the octet-stream line?
yes, i always have (had) to uncomment the octet-stream's in mime.types an
now, with cups-1.2.1-1.2, it's just perfect, like before, without the "raw share"!