Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: With F36, when selecting a color-related option in the "Color Model" selection box, the option is reset to the default ("Black and White", "Greyscale" ...). This happens with both "gnome-control-center printers" and "/usr/bin/system-config-printer". This is not an issue with F35. Version-Release number of selected component (if applicable): cups-2.4.1-8.fc36.x86_64 How reproducible: Always Steps to Reproduce: 1. gnome-control-center printers > add printer 2. autodetect printer driver 3. change [Color Model] option from "Black and White" to "Color" Actual results: When revisiting the [Color Model] option, it has been reset to "Black and White" ; test prints are printed in B/W. Expected results: [Color Model] selection should be honoured. Additional info: 1. Testing was performed on both an F35->F36 upgrade and a clean F36 install. 2. This happens with both the "gnome-control-center printers" and "system-config-printer" printer applications. 3. Independent of the the autodetected printer driver, this can be reproduced by applying the "Generic PCL Color Laser - CUPS+Gutenprint v5.3.4 Simplified" driver. 4. One observed difference with a different printerqueue/PPD which respects the color option settings : 4a. the autodetected printer driver (Ricoh C5500) and the generic printer driver (cfr. item 3. above) both specify "Color Model" in the PPD and in the GUI : $ lpoptions -p printer-nok -l | egrep "^Color" ColorModel/Color Mode: CMYK *Gray 4b. the working printer (e.g. Samsung-CLP-365) refers to "ColorMode" in its PPD and "Color Mode" in the GUI : $ lpoptions -p printer-ok -l | egrep "^Color" ColorMode/Color Mode: *Color Monochrome 5. The problem can be mitigated by directly manipulating the CUPS printer configuration file : 5a. "# systemctl stop cups" 5b. "# vi /etc/cups/printers.conf" 5c. change to "Option print-color-mode color" 5d. "# systemctl start cups" , which results in the expected coloured output.
Hi Didier, thank you for reporting the issue and investigation! It would be great if you followed the steps from https://docs.fedoraproject.org/en-US/quick-docs/how-to-debug-printing-problems/#_cups_generic_issue as well, ideally it would be the best if you tried to print some testing page as well. IMO it is the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=2087730 , but I would like to confirm it from the logs. It looks like CUPS set a default option for color printing to gray, which then overrides standardized ColorModel option. 'ColorMode' is not touched, because it is not PPD keyword from the PPD standard, but it's something the vendor came up with and hardwired it into his filters.
Additionally it would help as well if you tried changing the option via lpoptions without GUI to see whether it is a problem in communication of CUPS and GUI.
Apologies for the belated reply : AFK.
Hi Didier, there is CUPS 2.4.2 in testing - are you able to reproduce the issue with it? With new version I'm able to print color/b&w as before the issue.
Dear Zdenek, Just tested cups-2.4.2-1.fc36.x86_64 : no improvement , not even with a clean start, i.e. an empty "/etc/cups/". Will continue testing as suggested above in c#1 and c#2 (when time permits, unfortunately).
Hi Didier, I'm sorry for delay, I've prepared a testing rpms which should fix the issue - https://koji.fedoraproject.org/koji/taskinfo?taskID=90399669 Would you mind testing them?
(In reply to Zdenek Dohnal from comment #6) > I'm sorry for delay, I've prepared a testing rpms which should fix the issue > - https://koji.fedoraproject.org/koji/taskinfo?taskID=90399669 I was also affected by printing only black&white and the RPMs above fixed that for me, I can now print in color.
Sorry, that comment above was for bug 2087730. For this bug, I tested configuring the default color mode in printer settings and it saves correctly on my IPP printer.
(In reply to Zdenek Dohnal from comment #6) > Hi Didier, > > I'm sorry for delay, I've prepared a testing rpms which should fix the issue > - https://koji.fedoraproject.org/koji/taskinfo?taskID=90399669 > > Would you mind testing them? Dear Zdenek, Apologies for the lack of reply (holidays etc). I will test at the earliest occasion (away from office ; needinfo still active), but the feedback from Kamil already sets hopes high. Thank you for your effort.
Unfortunately, cups-2.4.2-4.fc36.x86_64 does not fix my issue. Changing the "Color Mode" from [Black and White] to [Color] does not yield coloured output, and the setting is reset to B&W again. I will add an attachment with a screencast illustrating the issue. The only way to mitigate the issue is by 'brute-forcing' the setting : systemctl stop cups ; sed -i 's/Option print-color-mode monochrome/Option print-color-mode color/g' /etc/cups/printers.conf ; systemctl start cups After the above commands : - print output is in colour ; - the "Color Mode" setting can be changed from [Color] to [Black and White] ; - once it is in B&W, the setting is locked again, and the brute-force script is again required to print in colour.
Created attachment 1906335 [details] screencast Screencast, illustrating the issue. In the bottom right terminal, the output from "journalctl -fel -u cups" is displayed.
Hi Didier, (In reply to D. Moens from comment #10) > Unfortunately, cups-2.4.2-4.fc36.x86_64 does not fix my issue. that's expected. If you check the rpm changelog by 'rpm -q --changelog cups | less', I don't mention this bug in it and this bug is still opened. If I intend to fix some bug via new update, I add the bug to the update, so anyone watching the bug can see there is an update which should fix it (which didn't happen here...) Long story short: I've found one more case which has to be fixed - https://bugzilla.redhat.com/show_bug.cgi?id=1985917# - working on the fix in the meantime, please stay tuned. Once there is an update with the fix, it will be shown here in the bug by Fedora bot, which will switch the bug to MODIFIED and leave a link to the specific update in Fedora Updates Testing repository, which you can use for installing the update before it lands into stable repository, testing it, leaving a feedback on the update in bodhi.fedoraproject.org and helping moving the update to the stable Fedora repositories :) .
Hi Zdenek, Mu apologies ; it looks I was confused by your request from comment#6 to test 2.4.2-3 which should have fixed the issue (and consequently, I assumed 2.4.2-4 should have included the presumed fix too).
Hi Didier, I've finished the newest iteration - here are the testing rpms https://koji.fedoraproject.org/koji/taskinfo?taskID=91210382 Would you mind testing them and letting me know whether they help? Thank you in advance!
Hi Zdenek, cups-2.4.2-4.fc36.test.1 resolves the issue. As an added bonus, ink levels for a specific printer (Ricoh C5500) are now correctly displayed (as illustrated in the screencast, yellow toner was missing). Thank you for your perseverance !
FEDORA-2023-b6b1ff44a5 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b6b1ff44a5
FEDORA-2023-c5cf4f6be2 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c5cf4f6be2
FEDORA-2023-7ceae7b00b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7ceae7b00b
FEDORA-2023-b6b1ff44a5 has been pushed to the Fedora 38 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b6b1ff44a5 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-c5cf4f6be2 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c5cf4f6be2` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c5cf4f6be2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-7ceae7b00b has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-7ceae7b00b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-7ceae7b00b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-c5cf4f6be2 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-b6b1ff44a5 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-7ceae7b00b has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.