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

Aperta
#1,456 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
c, ios
Ambito
backend

Direzione di ricerca

Inizia esaminando Discussion 1453 e il file error_log.txt allegato, quindi traccia la gestione dell'attributo job-password da parte di CUPS. Conferma il comportamento dei lavori protetti da password e verifica che una breve messa in attesa consenta ai client iOS di visualizzare il PIN generato prima del rilascio.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C
Stelle
1.8k
Fork
362
Merge medio
1g 46m
PR unite (30g)
10

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenPrinting/cups

Tutte le issue di OpenPrinting/cups

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.