Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option print-color-mode keeps coming back to monochrome #489

Closed
fujisan43 opened this issue Sep 27, 2022 · 4 comments
Closed

Option print-color-mode keeps coming back to monochrome #489

fujisan43 opened this issue Sep 27, 2022 · 4 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@fujisan43
Copy link

We have a Ricoh MP C2504ex color printer and it used to print in color from any of our Fedora desktop.
But now, I have to set option print-color-mode to color as root to be able to print in color.
I'm using command lpadmin -p ricoh -o print-color-mode-default=color to set that option and command lpoptions show then the correct value of print-color-mode.
And as soon as the print is done, that option is automatically reset to monochrome. I have to run the above command every time some want to print in color.
Is this related to issue 451?

@zdohnal
Copy link
Member

zdohnal commented Oct 3, 2022

Hi @fujisan43 ,

thank you for reporting the issue!

None of the PRs related to color regressions haven't been backported to Fedora yet, so the PR #451 isn't causing this behavior, however it can be other use case (similar as #421 ) which is broken - it depends on your setup.

I've checked that your device supports AirPrint - it would be great if you shared output of:

$ lpstat -a
$ lpstat -e
$ lpstat -v

, took your ppd file if any from /etc/cups/ppd, added .txt suffix to it and attached it here.

@zdohnal zdohnal added bug Something isn't working investigating Investigating the issue waiting for reporter There are data requested from the reporter labels Oct 3, 2022
@fujisan43
Copy link
Author

Here are the output of the commands you asked:
ricoh.ppd.txt

$ lpstat -a
ricoh accepting requests since Mon 03 Oct 2022 07:31:24 PM CEST
 $ lpstat -e
ricoh
$ lpstat -v
device for ricoh: ipp://10.0.21.241:631/ipp

@zdohnal
Copy link
Member

zdohnal commented Oct 18, 2022

@fujisan43 thank you for the data!

I was expecting you have your printer as a temporary or cups-browsed created, so it could explain the disappearance, but it is not the case.

I can reproduce this on my local Fedora 36 - and it is the same issue as #421 - we don't check for CMYK in load_ppd() at scheduler/printers.c when we set print-color-mode from PPD.

@zdohnal
Copy link
Member

zdohnal commented Oct 18, 2022

Closing as duplicate of #421 .

@zdohnal zdohnal closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2022
@zdohnal zdohnal added duplicate This issue or pull request already exists and removed investigating Investigating the issue waiting for reporter There are data requested from the reporter labels Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants