CUPS doesn't hold jobs using a password, preventing iOS clients from displaying the PIN needed to release them.

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
c, ios
领域
backend

调研方向

首先查看 Discussion 1453 和附带的 error_log.txt,然后跟踪 CUPS 对 job-password 属性的处理。确认受密码保护的作业的行为,并验证短暂暂停是否能让 iOS 客户端在释放前显示生成的 PIN。

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

描述

enhancement platform issue

Need to implement a short (10-30 second) hold for jobs using the job-password attribute for PIN/passcode/password printing, otherwise iOS clients won't show the PIN they generated.

Discussed in https://github.com/OpenPrinting/cups/discussions/1453

Originally posted by mdk6c December 10, 2025
We are trying to implement PIN release printing in CUPS for iOS devices.

We have added the following to the bottom of our PPD file, as per the documentation.

*cupsMandatory: "job-password job-password-encryption"
*cupsJobPassword: "1111"

Our printer is visible from iOS devices and the print options sheet shows "This printer requires a PIN to print" as expected.

However, when we tap "Print" to submit the print job, no PIN is ever presented to the user via the expected iOS PIN dialog (screenshot below).

Image

I can see from the error_log that a job password is being generated and passed along to the filters.

error_log.txt

Maybe this issue is on the iOS side, not CUPS. I'm sorry to report it as a bug. But we have found scant guidance or implementation examples for PIN printing in our research thus far.

主要语言
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 摘要。