Enable printer icon set up
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
Direzione di ricerca
Inizia esaminando la gestione esistente di CUPS relativa agli URI di printer-icons e al comportamento di ippeveprinter descritto nell’issue. Determina se rientrano nell’ambito icone configurabili, valori predefiniti generati o più dimensioni, quindi verifica che il comportamento selezionato venga annunciato correttamente ai client come Mopria.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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!
- Lingua principale
- C
- Stelle
- 1.8k
- Fork
- 362
- Merge medio
- 19h 12m
- PR unite (30g)
- 8
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenPrinting/cups
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenPrinting/cups#1828 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
NULL pointer dereference in `print_job()` during MIME auto-detectionForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OpenPrinting/cups#1826 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
OAuth (bearer) quota check denies every user when the allowed-user list is emptyForse già presa @RonitMehta08 l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
OpenPrinting/cups#1795 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
cupsdGetPrivateAttrs: @ACL never grants access, and @OWNER is looked up as an operating-system group for non-ownersForse già presa @user-Param l’ha presa 10 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
OpenPrinting/cups#1796 ·
I maintainer di solito rispondono entro 1 giorno
-
OAuth/OIDC token-validation gaps: nonce not enforced when absent, at_hash alg, inbound bearer not signature/aud/exp-validated + unverified email used for authzForse di nuovo libera @michaelrsweet l’ha presa 148 giorni fa e non c’è nessuna pull request aperta. Apertainvestigating
OpenPrinting/cups#1609 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OpenPrinting/cups
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ESPresense/ESPresense#2680 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
ImageMagick/ImageMagick#9134 ·
I maintainer di solito rispondono entro 1 giorno
-
Builder: a structure opened without calculation data shows the Diffraction (fibre) view by defaultApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
FriendsofECCE/ECCE#1245 · 1 commento ·
-
Arch: ARM/AArch64 Doc
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
RT-Thread/rt-thread#12082 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
apache/nuttx-apps#4108 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno