-
Notifications
You must be signed in to change notification settings - Fork 187
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
Windows 11 does not like integers in media-source-supported
field
#859
Comments
Technically IPP keywords are supposed to start with a letter, so Microsoft isn't wrong to not allow numeric keywords like this (although I would like to see a real error message, obviously...) We should be able to update the PPD cache/mapping code to avoid strictly numeric source names, but also if there is just a single InputSlot then we can just list "auto" or "main" for the mapping as well. |
@michaelrsweet, FYI, the same issue happens when Is it worth patching in cups in your opinion, or should I just fix all the PPDs there? https://learn.microsoft.com/en-us/windows-hardware/drivers/print/deviceinfo#ieee1284deviceid
|
@ValdikSS Better to fix the PPDs since there isn't a reliable way for CUPS to "fix" the 1284 device ID in the PPD file. |
@michaelrsweet it seems that foomatic-ppdfile from foomatic-db-engine does not use manufacturer and model fields for 1284DeviceID, requiring manufacturer and model to be supplied in For now I've patched the .xml files in foo2zjs. Worth fixing foomatic-db as well: OpenPrinting/foomatic-db-engine#10 |
Describe the bug
Windows 11 version 22H2 build 22621.2861 silently fails to add Mopria auto-discovered printer if it reports a number (a digit as a string) in
media-source-supported
field.If you try to add such a printer using modern control panel, it will show endless "connecting…" message, and if you add it using old control panel, it would be added "successfully", but under "unrecognized" device type, and you won't be able to print on it.
Changing
media-source-supported
by editing .ppd file to any real text string, such asauto
, fixes the issue.I briefly read IPP specifications and it doesn't seem that it contradicts anything in the spec, and CUPS doesn't seem to blame. But is it something worth auto-patching in CUPS?
Reported to MS using Feedback Hub.
Failing ppd snippet (from Canon LBP-1120):
To Reproduce
Steps to reproduce the behavior:
Alternative steps, with more visuals:
System Information:
Working PPD snippet:
The text was updated successfully, but these errors were encountered: