Allow printer-dns-sd-name to be set
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- c
- Domain
- backend, documentation, web-dev
Research direction
Start by tracing printer attributes and configuration handling in printers.conf and classes.conf, then inspect add_class, add_printer, set_printer_attrs, and cups/encode.c. Review the lpadmin, classes.conf, and printers.conf man pages, along with admin.cgi and its templates. Done means all checklist items are implemented, including a DNS-SD name field limited to 63 bytes.
Written by the indexing model from the issue text.
Description
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, andset_printer_attrsto 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).
- Dominant language
- C
- Stars
- 1.8k
- Forks
- 331
- Avg merge
- 9h 42m
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenPrinting/cups
-
IPP backend exits 0 instead of retrying as raster after document-format-error and failed Cancel-Job Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
OpenPrinting/cups#1703 · 2 comments ·
-
Nothing happens Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
OpenPrinting/cups#1678 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
OpenPrinting/cups#1677 · 2 comments ·
-
investigating
OpenPrinting/cups#1609 · 1 assignee ·
-
bug priority-high security
OpenPrinting/cups#1556 · 7 comments · 1 assignee ·
All issues in OpenPrinting/cups
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100