Allow printer-dns-sd-name to be set

未关闭
#1,572 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
52/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
c

调研方向

首先跟踪 printers.conf 和 classes.conf 中的打印机属性及配置处理,然后检查 add_class、add_printer、set_printer_attrs 和 cups/encode.c。查看 lpadmin、classes.conf 和 printers.conf 的 man 页面,以及 admin.cgi 和其模板。完成的标准是实现清单中的所有项目,包括将 DNS-SD 名称字段限制为 63 字节。

由索引模型根据 Issue 内容生成。

描述

enhancement

Currently cupsd doesn't allow the user/admin to change the printer-dns-sd-name value. We want to change that (already supported for CUPS 3.0 via PAPPL):

  • Load/save printer-dns-sd-name (reg_name) values in printers.conf and classes.conf
  • Update add_class, add_printer, and set_printer_attrs to allow "printer-dns-sd-name" to be changed
  • Make sure that "printer-dns-sd-name" is listed in cups/encode.c
  • Document setting values in the lpadmin man page
  • Update the classes.conf and printers.conf man pages
  • Update admin.cgi and the templates to provide a text field for setting/changing the DNS-SD name (up to 63 bytes).
主要语言
C
星标
1.8k
派生
362
平均合并
1 天 46 分钟
30 天内合并 PR
10

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenPrinting/cups 的其他 Issue

查看 OpenPrinting/cups 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。