Enable printer icon set up
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先检查现有的 CUPS 处理逻辑,了解其与 printer-icons URI 以及 issue 中描述的 ippeveprinter 行为的关系。确定可配置图标、生成的默认图标或多种尺寸是否属于范围,然后验证所选行为是否正确向 Mopria 等客户端公布。
由索引模型根据 Issue 内容生成。
描述
Recently I discovered that there is a client out there, that actually does make use of printer-icons uri. Specifically I mean the Mopria Print Service for Android.
When running ippeveprinter with an option to set the icon file as below
ippeveprinter -v -i /home/pi/4700x.png "My Cool Printer"
viewing printer details in the Mopria app does display the configured icon:
Describe the solution you'd like
What I would like is to have cups similarly allow user configuration of an icon file, and then share it with the client.
The minimum I can imagine would be exposing an icons folder, and then it would be up to the user to put a single relevant 128x128 <printer_name>.png file there, in line with what is currently advertised for a given shared printer by printer-icons (uri)
For a more expanded functionality, if it makes sense, maybe cups could also generate a default cups printer icon in there, whenever a printer is added, which could be then overwritten by the user. Or maybe instead generate on the fly a link to an existing icon like /usr/share/cups/doc-root/apple-touch-icon.png, if a user icon is not available.
If instead of a single icon a set of 48x48, 128x128, 512x512 icons was needed, then maybe just use -sm and -lg suffixes to icon file name, similarly to what ippeveprinter does:
printer-icons (1setOf uri) = https://raspberrypi2.local:8000/icon-sm.png,https://raspberrypi2.local:8000/icon.png,https://raspberrypi2.local:8000/icon-lg.png
Additional context
I realize of course that this is a niche functionality, both from the perspective of user expectations, and of availability of clients that actually make use of icons. So probably the lowest of low priorities. :) But if this change ever makes into some future release of cups, that would be great!
- 主要语言
- C
- 星标
- 1.8k
- 派生
- 362
- 平均合并
- 19 小时 12 分钟
- 30 天内合并 PR
- 8
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenPrinting/cups 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
OpenPrinting/cups#1828 · 4 条评论 ·
维护者通常 1 天内回复
-
NULL pointer dereference in `print_job()` during MIME auto-detection可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
OpenPrinting/cups#1826 · 1 条评论 ·
维护者通常 1 天内回复
-
OAuth (bearer) quota check denies every user when the allowed-user list is empty可能已有人在做 @RonitMehta08 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 66/100
OpenPrinting/cups#1795 · 1 条评论 ·
维护者通常 1 天内回复
-
cupsdGetPrivateAttrs: @ACL never grants access, and @OWNER is looked up as an operating-system group for non-owners可能已有人在做 @user-Param 于 10 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 35/100
OpenPrinting/cups#1796 ·
维护者通常 1 天内回复
-
OAuth/OIDC token-validation gaps: nonce not enforced when absent, at_hash alg, inbound bearer not signature/aud/exp-validated + unverified email used for authz可能重新可做 @michaelrsweet 于 148 天前认领,目前没有进行中的 PR。 未关闭investigating
OpenPrinting/cups#1609 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 OpenPrinting/cups 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 80/100
ESPresense/ESPresense#2680 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
ImageMagick/ImageMagick#9134 ·
维护者通常 1 天内回复
-
Builder: a structure opened without calculation data shows the Diffraction (fibre) view by default未关闭bug
难度 2/5 1-3 小时 新手友好度 65/100
FriendsofECCE/ECCE#1245 · 1 条评论 ·
-
Arch: ARM/AArch64 Doc
难度 1/5 1 小时以内 新手友好度 90/100
RT-Thread/rt-thread#12082 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
apache/nuttx-apps#4108 · 4 条评论 ·
维护者通常 1 天内回复