-
Notifications
You must be signed in to change notification settings - Fork 214
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
cups/ppd-cache.c: Add cupsUrfSupported to generated PPD (see #804) #805
Conversation
…ting#804) It fixes driverless printing on Pantum BM5100ADW Series and, probably, on many other devices. - Without this parameter, /usr/lib/cups/filter/universal generates RGB image/urf even for monochrome printer - Pantum BM5100ADW Series rejects to print these RGB images with the "Print job canceled at printer" status. - Probably, this issue affects many other devices See OpenPrinting#804 for details.
I don't have a hard objection to this, but the bug is in cups-filters - the ColorModel option code, when executed, specified sGray as the colorspace. And the PPD specifies ColorDevice: False... |
Hi! If there is no serious objections against this PR, what can I do to get this PR merged? Technically, I can press the P.S. I've created the corresponding issue in |
TBH I would pursue the fix in libcupsfilters as well - PPD generated by CUPS does not define any color support, so it is really filter bug if the color is generated. |
I completely agree that the real problem is in the libcupsfilters. So my position is following:
If everybody agrees, somebody needs to push the "Merge" button. Should I do it by myself? ;) |
Ping @tillkamppeter, WDYT? |
@alexpevzner in both cases, hotfix on CUPS or real fix on libcupsfilters, distros have tpo issue a bug fix update on one package, so for distros it is not a big difference what to do right now, in the hot fix case, distros will later on have to update again (but this they can do on a distro release, no stable release update needed) to switch to the real fix and remove the hotfix. Doing the real fix is the easier and more straightforward solution for the distros. A hotfix would be the right way if we have no idea where and how to do the real fix, or we discover we have to change the complete architecture of the package to fix the bug. This is not the case, bugs like this happened often in libcupsfilters, and they always turned out to be fixed with a small change. Therefore, @alexpevzner I recommend you to continue your investigation on the filter functions and once found a solution we will do stable releasse updates of libcupsfilters in the distros. Also CUPS-generated PPD files describe the discovered printers correctly, yours actually as monochrome printer, with only monochrome color modes (in the |
Hi @tillkamppeter, I'd prefer to leave this hotfix in cups even when cups-filters will be fixed and not to remove it from there. It passes a piece of information, the |
A generic side note only FYI In general I think it depends if what is called a "hotfix" But when what is called a "hotfix" makes CUPS behave Additionally I am wondering when this issue gets fixed |
Hi @jsmeix,
This patch exposes content of the And it is consistent with PPDs, generated by Please note, I will continue investigation of the cups filters and hope to fix it soon, but regardless of that I'd prefer to see this patch merged too. |
@michaelrsweet, @tillkamppeter, could you please review when time allows? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks! |
It fixes driverless printing on Pantum BM5100ADW Series and, probably, on many other devices.
See #804 for details.